* Howto about Qt QML and Ofono
@ 2010-07-20 8:01 Matthias =?unknown-8bit?q?G=C3=BCnther?=
2010-07-21 8:15 ` Gu, Yang
0 siblings, 1 reply; 8+ messages in thread
From: Matthias =?unknown-8bit?q?G=C3=BCnther?= @ 2010-07-20 8:01 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
Hi all together.
I wrote a little howto about how to use Ofono with Phonesim in the back
and a Qt application as frontend. The Qt applicatin is devided into two
parts, the C++ part where all the D-Bus stuff is handled and the QML
part where you can use C++ methods to e.g. activate the Ofono modem or
do something when an Ofono signal is recieved. The howto is separated
into three parts:
>http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
>http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
>http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
I hope this helps people out there to create cool new phone
applications. You're welcome to leave a note here or on the howto directly.
Best regards,
Matthias
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Howto about Qt QML and Ofono
2010-07-20 8:01 Howto about Qt QML and Ofono Matthias =?unknown-8bit?q?G=C3=BCnther?=
@ 2010-07-21 8:15 ` Gu, Yang
2010-07-22 13:30 ` Matthias =?unknown-8bit?q?G=C3=BCnther?=
0 siblings, 1 reply; 8+ messages in thread
From: Gu, Yang @ 2010-07-21 8:15 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1800 bytes --]
Hi Matthias,
>-----Original Message-----
>From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of
>Matthias Günther
>Sent: Tuesday, July 20, 2010 4:02 PM
>To: qt-qml(a)trolltech.com; ofono(a)ofono.org
>Subject: Howto about Qt QML and Ofono
>
>Hi all together.
>
>I wrote a little howto about how to use Ofono with Phonesim in the back
>and a Qt application as frontend. The Qt applicatin is devided into two
>parts, the C++ part where all the D-Bus stuff is handled and the QML
>part where you can use C++ methods to e.g. activate the Ofono modem or
>do something when an Ofono signal is recieved. The howto is separated
>into three parts:
>
>>http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
>>http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
>>http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
>
>I hope this helps people out there to create cool new phone
>applications. You're welcome to leave a note here or on the howto directly.
>
Your lovely program gives a good demo on how to writing an application based on oFono. oFono does claim it will help on building application in a convenient way, so the prosperity of application will definitely bring feedback to oFono and make oFono grow better.
I have two comments on your first part: 1) configure is not in the git tree of oFono, so we will use bootstrap-configure instead. 2) I'm sure your phonesim works well. But we also have another phonesim derived from your repo, which we had some modification and enhancement in. The repo is "git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building command is same as oFono, and the execution command is "./phonesim -p 12345 -gui src/default.xml".
Regards,
-Yang
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Howto about Qt QML and Ofono
2010-07-21 8:15 ` Gu, Yang
@ 2010-07-22 13:30 ` Matthias =?unknown-8bit?q?G=C3=BCnther?=
2010-07-22 14:21 ` Gu, Yang
0 siblings, 1 reply; 8+ messages in thread
From: Matthias =?unknown-8bit?q?G=C3=BCnther?= @ 2010-07-22 13:30 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1666 bytes --]
>> I wrote a little howto about how to use Ofono with Phonesim in the back
>> and a Qt application as frontend. The Qt applicatin is devided into two
>> parts, the C++ part where all the D-Bus stuff is handled and the QML
>> part where you can use C++ methods to e.g. activate the Ofono modem or
>> do something when an Ofono signal is recieved. The howto is separated
>> into three parts:
>>
>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
>>
>> I hope this helps people out there to create cool new phone
>> applications. You're welcome to leave a note here or on the howto directly.
>>
>
> Your lovely program gives a good demo on how to writing an application based on oFono. oFono does claim it will help on building application in a convenient way, so the prosperity of application will definitely bring feedback to oFono and make oFono grow better.
> I have two comments on your first part: 1) configure is not in the git tree of oFono, so we will use bootstrap-configure instead. 2) I'm sure your phonesim works well. But we also have another phonesim derived from your repo, which we had some modification and enhancement in. The repo is "git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building command is same as oFono, and the execution command is "./phonesim -p 12345 -gui src/default.xml".
Thanks Yang, I've added the ./bootstrap command to the listing. I also
wrote down a hint to the ofono branch of phonesim.
Best regards,
Matthias
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Howto about Qt QML and Ofono
2010-07-22 13:30 ` Matthias =?unknown-8bit?q?G=C3=BCnther?=
@ 2010-07-22 14:21 ` Gu, Yang
2010-07-22 15:11 ` =?unknown-8bit?q?Jo=C3=A3o?= Paulo Rechi Vita
2010-07-22 16:23 ` Matthias =?unknown-8bit?q?G=C3=BCnther?=
0 siblings, 2 replies; 8+ messages in thread
From: Gu, Yang @ 2010-07-22 14:21 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]
Hi Matthias,
>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
>>>
>>> I hope this helps people out there to create cool new phone
>>> applications. You're welcome to leave a note here or on the howto directly.
>>>
>>
>> Your lovely program gives a good demo on how to writing an application based on
>oFono. oFono does claim it will help on building application in a convenient way, so
>the prosperity of application will definitely bring feedback to oFono and make oFono
>grow better.
>> I have two comments on your first part: 1) configure is not in the git tree of oFono, so
>we will use bootstrap-configure instead. 2) I'm sure your phonesim works well. But we
>also have another phonesim derived from your repo, which we had some modification
>and enhancement in. The repo is
>"git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building command is
>same as oFono, and the execution command is "./phonesim -p 12345 -gui
>src/default.xml".
>
>Thanks Yang, I've added the ./bootstrap command to the listing. I also
>wrote down a hint to the ofono branch of phonesim.
"bootstrap-configure" is a single script, rather than two different ones.
Regards,
-Yang
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Howto about Qt QML and Ofono
2010-07-22 14:21 ` Gu, Yang
@ 2010-07-22 15:11 ` =?unknown-8bit?q?Jo=C3=A3o?= Paulo Rechi Vita
2010-07-22 15:25 ` Marcel Holtmann
2010-07-22 16:23 ` Matthias =?unknown-8bit?q?G=C3=BCnther?=
1 sibling, 1 reply; 8+ messages in thread
From: =?unknown-8bit?q?Jo=C3=A3o?= Paulo Rechi Vita @ 2010-07-22 15:11 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]
On Thu, Jul 22, 2010 at 11:21, Gu, Yang <yang.gu@intel.com> wrote:
> Hi Matthias,
>
>>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
>>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
>>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
>>>>
>>>> I hope this helps people out there to create cool new phone
>>>> applications. You're welcome to leave a note here or on the howto directly.
>>>>
>>>
>>> Your lovely program gives a good demo on how to writing an application based on
>>oFono. oFono does claim it will help on building application in a convenient way, so
>>the prosperity of application will definitely bring feedback to oFono and make oFono
>>grow better.
>>> I have two comments on your first part: 1) configure is not in the git tree of oFono, so
>>we will use bootstrap-configure instead. 2) I'm sure your phonesim works well. But we
>>also have another phonesim derived from your repo, which we had some modification
>>and enhancement in. The repo is
>>"git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building command is
>>same as oFono, and the execution command is "./phonesim -p 12345 -gui
>>src/default.xml".
>>
>>Thanks Yang, I've added the ./bootstrap command to the listing. I also
>>wrote down a hint to the ofono branch of phonesim.
>
> "bootstrap-configure" is a single script, rather than two different ones.
>
There is a bootstrap script also, and bootstrap-configure basically
runs it and then runs configure with a pre-set of switches.
--
João Paulo Rechi Vita
http://jprvita.wordpress.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Howto about Qt QML and Ofono
2010-07-22 15:11 ` =?unknown-8bit?q?Jo=C3=A3o?= Paulo Rechi Vita
@ 2010-07-22 15:25 ` Marcel Holtmann
0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2010-07-22 15:25 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1986 bytes --]
Hi Joao,
> >>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
> >>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
> >>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
> >>>>
> >>>> I hope this helps people out there to create cool new phone
> >>>> applications. You're welcome to leave a note here or on the howto directly.
> >>>>
> >>>
> >>> Your lovely program gives a good demo on how to writing an application based on
> >>oFono. oFono does claim it will help on building application in a convenient way, so
> >>the prosperity of application will definitely bring feedback to oFono and make oFono
> >>grow better.
> >>> I have two comments on your first part: 1) configure is not in the git tree of oFono, so
> >>we will use bootstrap-configure instead. 2) I'm sure your phonesim works well. But we
> >>also have another phonesim derived from your repo, which we had some modification
> >>and enhancement in. The repo is
> >>"git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building command is
> >>same as oFono, and the execution command is "./phonesim -p 12345 -gui
> >>src/default.xml".
> >>
> >>Thanks Yang, I've added the ./bootstrap command to the listing. I also
> >>wrote down a hint to the ofono branch of phonesim.
> >
> > "bootstrap-configure" is a single script, rather than two different ones.
> >
>
> There is a bootstrap script also, and bootstrap-configure basically
> runs it and then runs configure with a pre-set of switches.
and more important with a pre-set of switches that every developer
should use since it enables proper debug and maintainer mode. With these
switches the compiler becomes your best test tool before submitting
patches.
However bootstrap and bootstrap-configure is not intended for packaging.
And that is why you only find these in the ofono.git repository and not
in the tarballs.
Regards
Marcel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Howto about Qt QML and Ofono
2010-07-22 14:21 ` Gu, Yang
2010-07-22 15:11 ` =?unknown-8bit?q?Jo=C3=A3o?= Paulo Rechi Vita
@ 2010-07-22 16:23 ` Matthias =?unknown-8bit?q?G=C3=BCnther?=
2010-07-23 10:07 ` Zhang, Zhenhua
1 sibling, 1 reply; 8+ messages in thread
From: Matthias =?unknown-8bit?q?G=C3=BCnther?= @ 2010-07-22 16:23 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1877 bytes --]
Hi Yang,
>>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
>>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
>>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
>>>>
>>>> I hope this helps people out there to create cool new phone
>>>> applications. You're welcome to leave a note here or on the howto directly.
>>>>
>>>
>>> Your lovely program gives a good demo on how to writing an application based on
>> oFono. oFono does claim it will help on building application in a convenient way, so
>> the prosperity of application will definitely bring feedback to oFono and make oFono
>> grow better.
>>> I have two comments on your first part: 1) configure is not in the git tree of oFono, so
>> we will use bootstrap-configure instead. 2) I'm sure your phonesim works well. But we
>> also have another phonesim derived from your repo, which we had some modification
>> and enhancement in. The repo is
>> "git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The building command is
>> same as oFono, and the execution command is "./phonesim -p 12345 -gui
>> src/default.xml".
>>
>> Thanks Yang, I've added the ./bootstrap command to the listing. I also
>> wrote down a hint to the ofono branch of phonesim.
>
> "bootstrap-configure" is a single script, rather than two different ones.
Thanks for your comment. As mentioned in the thread before, there are
two scripts. The problem with "bootstrap-configure" is, that it enables
the --enable-capng switch which may cause problems. It'll probably end
up in missing files. Therefore I chose "bootstrap" to just create the
configure script and then use it without any configuration arguments -
just the defaults. For the purpose of the howto, the debug switches are
not really necessary.
Best regards,
Matthias
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Howto about Qt QML and Ofono
2010-07-22 16:23 ` Matthias =?unknown-8bit?q?G=C3=BCnther?=
@ 2010-07-23 10:07 ` Zhang, Zhenhua
0 siblings, 0 replies; 8+ messages in thread
From: Zhang, Zhenhua @ 2010-07-23 10:07 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 2359 bytes --]
Hi Matthias,
Matthias Günther wrote:
> Hi Yang,
>
>>>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-1/
>>>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-2/
>>>>>> http://matgnt.wordpress.com/2010/07/19/qt-ofono-d-bus-and-qml-part-3/
>>>>>
>>>>> I hope this helps people out there to create cool new phone
>>>>> applications. You're welcome to leave a note here or on the howto
>>>>> directly.
>>>>>
>>>>
>>>> Your lovely program gives a good demo on how to writing an
>>>> application based on
>>> oFono. oFono does claim it will help on building application in a
>>> convenient way, so the prosperity of application will definitely
>>> bring feedback to oFono and make oFono grow better.
>>>> I have two comments on your first part: 1) configure is not in the
>>>> git tree of oFono, so
>>> we will use bootstrap-configure instead. 2) I'm sure your phonesim
>>> works well. But we also have another phonesim derived from your
>>> repo, which we had some modification and enhancement in. The repo is
>>> "git://git.kernel.org/pub/scm/network/ofono/phonesim.git". The
>>> building command is same as oFono, and the execution command is
>>> "./phonesim -p 12345 -gui src/default.xml".
>>>
>>> Thanks Yang, I've added the ./bootstrap command to the listing. I
>>> also
>>> wrote down a hint to the ofono branch of phonesim.
>>
>> "bootstrap-configure" is a single script, rather than two different
>> ones.
>
> Thanks for your comment. As mentioned in the thread before, there are
> two scripts. The problem with "bootstrap-configure" is, that it
> enables the --enable-capng switch which may cause problems. It'll
> probably end up in missing files. Therefore I chose "bootstrap" to
> just create the configure script and then use it without any
> configuration arguments - just the defaults. For the purpose of the
> howto, the debug switches are not really necessary.
You could use 'sudo apt-get install libcap-ng-dev' or 'yum install -y libcap-ng-devel' to install this library.
One comment is that we normally call our project as 'oFono' instead 'Ofono'. :-)
> Best regards,
> Matthias
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono
Regards,
Zhenhua
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-07-23 10:07 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-20 8:01 Howto about Qt QML and Ofono Matthias =?unknown-8bit?q?G=C3=BCnther?=
2010-07-21 8:15 ` Gu, Yang
2010-07-22 13:30 ` Matthias =?unknown-8bit?q?G=C3=BCnther?=
2010-07-22 14:21 ` Gu, Yang
2010-07-22 15:11 ` =?unknown-8bit?q?Jo=C3=A3o?= Paulo Rechi Vita
2010-07-22 15:25 ` Marcel Holtmann
2010-07-22 16:23 ` Matthias =?unknown-8bit?q?G=C3=BCnther?=
2010-07-23 10:07 ` Zhang, Zhenhua
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.