Re: [FSO] How to develop with Qt

2008-10-10 Thread Nicola Mfb
2008/10/10 macebre <[EMAIL PROTECTED]>

> Hi,
>
> I began a Howto based on the Wiki Article "Development with Eclipse"
> (http://wiki.openmoko.org/wiki/Development_with_Eclipse) how i got C++ and
> Qt4
> with Eclipse and Toolchain work on my ubuntu-system.
>
> It's just my experience and i have only tried to compil some example
> programms, but they worked. So feel free to correct/fix it.
>
> Mat
>

Very nice, I'm trying to do  the same with kdevelop and a full openembedded
tree, and got some ideas: setup "debug run" scps the executable on a qemu
emulator and launch it, setup "project run" to do the same but on the real
device.

You may consider to try this on eclipse.

Regards

Nicola
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-10-10 Thread macebre
Hi,

I began a Howto based on the Wiki Article "Development with Eclipse" 
(http://wiki.openmoko.org/wiki/Development_with_Eclipse) how i got C++ and Qt4 
with Eclipse and Toolchain work on my ubuntu-system.

It's just my experience and i have only tried to compil some example 
programms, but they worked. So feel free to correct/fix it.

Mat

On Monday 29 September 2008 19:00:32 Nicola Mfb wrote:
> 2008/9/26 Minh Ha Duong <[EMAIL PROTECTED]>
>
> > > Where may we start a wiki page on this argument (openmoko,
> > > openembedded, fso?)
> >
> >  I would create the page with a link on
> > http://wiki.openmoko.org/wiki/Openmoko_developer_guide
> >
> > and categorize it under
> > http://wiki.openmoko.org/wiki/Category:Application_Developer
> >
> > Minh
>
> I created an unlinked wiki page at
> http://wiki.openmoko.org/wiki/Developing_with_C++_and_Qt , this is only an
> initial attempt, please fix,  rename, change,  restructure, and correct my
> bad english :)
>
>Nicola










___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-29 Thread Nicola Mfb
2008/9/29 Kevin Dixon <[EMAIL PROTECTED]>

> In this wiki article:
> http://wiki.openmoko.org/wiki/Developing_with_C++_and_Qt
> The link to the Qtopia SDK I notice says "ficgta01"...Does this mean
> its specific to the 1973. Does it work for Qtopia on the Freerunner?
> Thanks,
>
> -Kevin
>

In qtopia snapshot sources there are device specification only for the
gta01, however in the sources you can find various fixes for gta02, so I
think this works for both devices.

 Nicola
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-29 Thread Kevin Dixon
In this wiki article:
http://wiki.openmoko.org/wiki/Developing_with_C++_and_Qt
The link to the Qtopia SDK I notice says "ficgta01"...Does this mean
its specific to the 1973. Does it work for Qtopia on the Freerunner?
Thanks,

-Kevin


On Mon, Sep 29, 2008 at 11:28 AM, Michael Tansella
<[EMAIL PROTECTED]> wrote:
>> I created an unlinked wiki page at
>>  , this is only an
>> initial attempt, please fix,  rename, change,  restructure, and correct my
>> bad english :)
>>
>>Nicola
>
> Thank you very much
> Greets
> Michael
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-29 Thread Michael Tansella
> I created an unlinked wiki page at
> http://wiki.openmoko.org/wiki/Developing_with_C++_and_Qt , this is only an
> initial attempt, please fix,  rename, change,  restructure, and correct my
> bad english :)
>
>Nicola

Thank you very much
Greets
Michael

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-29 Thread Minh Ha Duong
Le lundi 29 septembre 2008, Nicola Mfb a écrit :
> 2008/9/26 Minh Ha Duong <[EMAIL PROTECTED]>
>
> > > Where may we start a wiki page on this argument (openmoko,
> > > openembedded, fso?)
> >
> >  I would create the page with a link on
> > http://wiki.openmoko.org/wiki/Openmoko_developer_guide
> >
> > and categorize it under
> > http://wiki.openmoko.org/wiki/Category:Application_Developer
> >
> > Minh
>
> I created an unlinked wiki page at
> http://wiki.openmoko.org/wiki/Developing_with_C++_and_Qt , this is only an
> initial attempt, please fix,  rename, change,  restructure, and correct my
> bad english :)

Linked and categorized.

Minh
-- 
Minh HA DUONG, Chargé de Recherche, CNRS
CIRED, Centre International de Recherches sur l'Environnement et le 
Développement
http://minh.haduong.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-29 Thread Nicola Mfb
2008/9/26 Minh Ha Duong <[EMAIL PROTECTED]>

> > Where may we start a wiki page on this argument (openmoko, openembedded,
> > fso?)
>
>  I would create the page with a link on
> http://wiki.openmoko.org/wiki/Openmoko_developer_guide
>
> and categorize it under
> http://wiki.openmoko.org/wiki/Category:Application_Developer
>
> Minh
>

I created an unlinked wiki page at
http://wiki.openmoko.org/wiki/Developing_with_C++_and_Qt , this is only an
initial attempt, please fix,  rename, change,  restructure, and correct my
bad english :)

   Nicola
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-28 Thread Nicola Mfb
2008/9/28 Erin Yueh <[EMAIL PROTECTED]>

> Hi Nicola,
>
> I've sent some patches to our distro team and OE can use bitbake to
> build the latest qt4-x11-free to version 4.4.1. Since people from
> community like to try qt4 new features, I will send an email to our
> distro and they would help to put these packages to our feed. Then you
> can install them from installer, no need to build it by yourself.


Hi Erin,
I have to build qt as i use c++ for my applications, so I need staging file
in the oe tree.

Also, not sure what you are interested in qt4? i am trying webkit
> features by python-pyqt.


I'm trying to complete and port yet another gps application for the
freerunner. Your experiments with webkit are interesting!

  Nicola
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-28 Thread Sander van Grieken
Hi Erin,

Can I find these patches somewhere in a bugreport? Or do I have to wait 'till 
they trickle down through git?

Sander

On Sunday 28 September 2008 10:53:51 Erin Yueh wrote:
> Hi Nicola,
>
> I've sent some patches to our distro team and OE can use bitbake to
> build the latest qt4-x11-free to version 4.4.1. Since people from
> community like to try qt4 new features, I will send an email to our
> distro and they would help to put these packages to our feed. Then you
> can install them from installer, no need to build it by yourself.
>
> Also, not sure what you are interested in qt4? i am trying webkit
> features by python-pyqt.
>
> --Erin
>
>
> Nicola Mfb wrote:
> []
>
> > I'm still trying to get a working and safe oetree with qt library inside
> > :). The first time i tried with the org.openembedded.dev branch and my
> > typical angstrom configured local.conf file, but it got a compilation
> > error on uicmoc4-native. After that i tried with the fso openmoko conf
> > file, it failed again but i noted that the preferred version of qt4 there
> > was 4.3.3 instead of 4.4.1.  I remembered that in
> > org.openembedded.stable there was 4.3.3 version, so i tried again with
> > the stable branch. It compiled fine but did not create all the requested
> > ipk (empty). I managed a bit on the qt_packaging.inc recipie and finally
> > i got a working qt-oe-tree, i was able to compile a my application too. I
> > bitbaked the last fso unstable image and flashed the phone with it,
> > setupped a fake feed server on my oe tree, added it to feeds on the phone
> > and did opkg update, opkg install qt4-x11-free, opkg install
> > my-application, and after that i was able to start it adding a simple
> > DISPLAY=:0.
> > But i'm not very happy of this as it's not simple and i do not like to
> > mix different branches.
> > Please share your experience on this...
> >
> > Regards
> >
> >  Nicola
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-28 Thread Erin Yueh
Hi Nicola,

I've sent some patches to our distro team and OE can use bitbake to
build the latest qt4-x11-free to version 4.4.1. Since people from
community like to try qt4 new features, I will send an email to our
distro and they would help to put these packages to our feed. Then you
can install them from installer, no need to build it by yourself.

Also, not sure what you are interested in qt4? i am trying webkit
features by python-pyqt.

--Erin


Nicola Mfb wrote:
[]
> I'm still trying to get a working and safe oetree with qt library inside :).
> The first time i tried with the org.openembedded.dev branch and my
> typical angstrom configured local.conf file, but it got a compilation
> error on uicmoc4-native. After that i tried with the fso openmoko conf
> file, it failed again but i noted that the preferred version of qt4
> there was 4.3.3 instead of 4.4.1.  I remembered that in
> org.openembedded.stable there was 4.3.3 version, so i tried again with
> the stable branch. It compiled fine but did not create all the requested
> ipk (empty). I managed a bit on the qt_packaging.inc recipie and finally
> i got a working qt-oe-tree, i was able to compile a my application too.
> I bitbaked the last fso unstable image and flashed the phone with it,
> setupped a fake feed server on my oe tree, added it to feeds on the
> phone and did opkg update, opkg install qt4-x11-free, opkg install
> my-application, and after that i was able to start it adding a simple
> DISPLAY=:0.
> But i'm not very happy of this as it's not simple and i do not like to
> mix different branches.
> Please share your experience on this...
> 
> Regards
> 
>  Nicola

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-27 Thread Kelvie Wong
Hi Nicola,

On Saturday, September 27, 2008 08:13:18 Nicola Mfb wrote:
> That's very nice, Kelvie.
> I'm still trying to get a working and safe oetree with qt library inside
> :). The first time i tried with the org.openembedded.dev branch and my
> typical angstrom configured local.conf file, but it got a compilation error
> on uicmoc4-native. After that i tried with the fso openmoko conf file, it
> failed again but i noted that the preferred version of qt4 there was 4.3.3
> instead of 4.4.1. I remembered that in org.openembedded.stable there was
> 4.3.3 version, so i tried again with the stable branch. It compiled fine
> but did not create all the requested ipk (empty). I managed a bit on the
> qt_packaging.inc recipie and finally i got a working qt-oe-tree, i was able
> to compile a my application too. I bitbaked the last fso unstable image and
> flashed the phone with it, setupped a fake feed server on my oe tree, added
> it to feeds on the phone and did opkg update, opkg install qt4-x11-free,
> opkg install my-application, and after that i was able to start it adding a
> simple DISPLAY=:0.
> But i'm not very happy of this as it's not simple and i do not like to mix
> different branches.
> Please share your experience on this...
>

Next time try separating your text into shorter paragraphs, it's easier to 
read :)

I hadn't encountered any of these problems -- I got python-pyqt built against 
the org.openembedded.stable tree (that is, the 4.3.3 version), and installed 
qt4-x11-free-4.4.1 (from angstrom).  They are still binary compatible, and it 
just worked on my Neo, except for the fact that I have to make sure 
LD_LIBRARY_PATH doesn't point to /opt/Qtopia first before starting python (as 
their libraries have the same name, and most of the same functions, but are 
missing some symbols such as QX11EmbedWidget).

Cheers,
-- 
Kelvie Wong
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-27 Thread Nicola Mfb
On Fri, Sep 26, 2008 at 6:22 PM, Kelvie Wong <[EMAIL PROTECTED]> wrote:

>
> In the meantime, I've managed to get PyQt4 working (hooked up against
> Qt-x11);
> this eliminates the need for a toolchain (or even building apps in
> general).
> There's another thread about that on this list.
>
> --
> Kelvie Wong
>

That's very nice, Kelvie.
I'm still trying to get a working and safe oetree with qt library inside :).
The first time i tried with the org.openembedded.dev branch and my typical
angstrom configured local.conf file, but it got a compilation error on
uicmoc4-native. After that i tried with the fso openmoko conf file, it
failed again but i noted that the preferred version of qt4 there was 4.3.3
instead of 4.4.1. I remembered that in org.openembedded.stable there was
4.3.3 version, so i tried again with the stable branch. It compiled fine but
did not create all the requested ipk (empty). I managed a bit on the
qt_packaging.inc recipie and finally i got a working qt-oe-tree, i was able
to compile a my application too. I bitbaked the last fso unstable image and
flashed the phone with it, setupped a fake feed server on my oe tree, added
it to feeds on the phone and did opkg update, opkg install qt4-x11-free,
opkg install my-application, and after that i was able to start it adding a
simple DISPLAY=:0.
But i'm not very happy of this as it's not simple and i do not like to mix
different branches.
Please share your experience on this...

Regards

 Nicola
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-26 Thread Kelvie Wong
On September 26, 2008 01:32:57 Michael Tansella wrote:
> We would really prefer to use FSO and later SHR,
> we are going to develop a indoor navigation system and perhaps have to add
> some sensors via Bluetooth or I²C and as I understand dbus would be great
> for sensor fusion.
> I tried to add the libs as mentioned in the wiki, but I wasn't successful.
> It would be very cool if someone could add the QT4 libs to the toolchain or
> could tell which packages are exactly needed, and I don't know how I can
> use qmake with the toolchain. Until now I have only developed QT with
> kdevelop.
>
> Geets
> Michael
>

In the meantime, I've managed to get PyQt4 working (hooked up against Qt-x11); 
this eliminates the need for a toolchain (or even building apps in general).  
There's another thread about that on this list.

-- 
Kelvie Wong

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-26 Thread Minh Ha Duong
> Where may we start a wiki page on this argument (openmoko, openembedded,
> fso?)

 I would create the page with a link on
http://wiki.openmoko.org/wiki/Openmoko_developer_guide

and categorize it under
http://wiki.openmoko.org/wiki/Category:Application_Developer

Minh

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-26 Thread Nicola Mfb
On Fri, Sep 26, 2008 at 10:32 AM, Michael Tansella
<[EMAIL PROTECTED]>wrote:

> [...]
> > Hi Michael, and what's about using qt without dbus in 2009.x?
> > In /opt/Qtopia i found qt4 and qtopia phone libraries, how to build
> > applications with them?
> >
> > thanks
> >
> >  Nicola
>
> We would really prefer to use FSO and later SHR,


FSO should be the future, while the qtopia phone x11 part of 2008.x will be
ported to FSO or will be substituted by some other apps (Zhone?) i asked on
the list for this but got no answer. It would be nice to know this, but it
seems to be a secret actually.
Due to information lacking, personally (take it with care!) I suppose qtopia
phone x11 will be dropped, for two reason:
1) developing is encouraged on FSO
2) openmoko does not provide an SDK toolchain and OE support for the qtopia
part of 2008.x, for example there are no staging for qtopiamake, qmake and
so on in the openmoko oe build tree... you may always bitbake qt4-x11-free
that provides staging files, but these are incompatible with qtopia-core
library deployed on 2008.x

So it's right to use FSO for your application.
For Michael: i asked that to have some clarification only, as official
Qtopia SDK are incompatible with qtopia-on-x11 and i think qtopia on x11 is
not developed at Trolltech, so qtopia.net will not support it... right?

we are going to develop a indoor navigation system and perhaps have to add
> some sensors via Bluetooth or I²C and as I understand dbus would be great
> for
> sensor fusion.
> I tried to add the libs as mentioned in the wiki, but I wasn't successful.
> It
> would be very cool if someone could add the QT4 libs to the toolchain or
> could tell which packages are exactly needed, and I don't know how I can
> use
> qmake with the toolchain. Until now I have only developed QT with kdevelop.
>
> Geets
> Michael
>

Well, you may use OpenEmbedded, in the stable tree you have qt 4.3, in the
development tree you have qt 4.4.
FSO is based on the development tree of OE, so you may use the provided
makefile to build your images, qt4.4, and your application.
I was not yet able to do it yet as there are some issues, howewer was able
to build qt 4.3 on the stable branch of OE and some my applications, so it's
may be a little hard or confusing, but you can start developing.
In the meaning, if you want a stable and simple environment to start
developing, you may use the vmware based trolltech sdk, avoiding to use dbus
for the moment, and experimenting qt behavior on a small display while your
OE tree came up (it needs a lot of time!).
In your code you may use some conditional include to read sensors in other
ways than dbus on qtopia, and let the application be compatible with fso,
qtopia, and if openmoko provide support for 2008.x too.

Where may we start a wiki page on this argument (openmoko, openembedded,
fso?)

Regards

   Nicola
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-26 Thread Michael Tansella
On Friday 26 September 2008 00:05:12 Nicola Mfb wrote:
> On Thu, Sep 25, 2008 at 7:48 PM, Michael 'Mickey' Lauer
> <[EMAIL PROTECTED]
>
> > wrote:
> >
> > Am Donnerstag, den 25.09.2008, 18:44 +0200 schrieb Michael Tansella:
> > > We are 2 Students and are doing a research project with the Freerunner.
> >
> > Now we
> >
> > > need to develop a tool with C++ QT. Because of the nice possibilities
> >
> > with
> >
> > > dbus we want to do this with FSO.
> >
> > Good idea! Should be working great.
>
> Hi Michael, and what's about using qt without dbus in 2009.x?
> In /opt/Qtopia i found qt4 and qtopia phone libraries, how to build
> applications with them?
>
> thanks
>
>  Nicola

We would really prefer to use FSO and later SHR, 
we are going to develop a indoor navigation system and perhaps have to add 
some sensors via Bluetooth or I²C and as I understand dbus would be great for 
sensor fusion.
I tried to add the libs as mentioned in the wiki, but I wasn't successful. It 
would be very cool if someone could add the QT4 libs to the toolchain or 
could tell which packages are exactly needed, and I don't know how I can use 
qmake with the toolchain. Until now I have only developed QT with kdevelop. 

Geets
Michael

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-25 Thread Michael 'Mickey' Lauer
Am Freitag, den 26.09.2008, 00:05 +0200 schrieb Nicola Mfb:
> On Thu, Sep 25, 2008 at 7:48 PM, Michael 'Mickey' Lauer
> <[EMAIL PROTECTED]> wrote:
> Am Donnerstag, den 25.09.2008, 18:44 +0200 schrieb Michael
> Tansella:
> > We are 2 Students and are doing a research project with the
> Freerunner. Now we
> > need to develop a tool with C++ QT. Because of the nice
> possibilities with
> > dbus we want to do this with FSO.
> Good idea! Should be working great.
> 
> 
> Hi Michael, and what's about using qt without dbus in 2009.x?
> In /opt/Qtopia i found qt4 and qtopia phone libraries, how to build
> applications with them?

Please see qtopia.net for that.
> 
:M:


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-25 Thread Nicola Mfb
On Thu, Sep 25, 2008 at 7:48 PM, Michael 'Mickey' Lauer <[EMAIL PROTECTED]
> wrote:

> Am Donnerstag, den 25.09.2008, 18:44 +0200 schrieb Michael Tansella:
> > We are 2 Students and are doing a research project with the Freerunner.
> Now we
> > need to develop a tool with C++ QT. Because of the nice possibilities
> with
> > dbus we want to do this with FSO.
>
> Good idea! Should be working great.
>

Hi Michael, and what's about using qt without dbus in 2009.x?
In /opt/Qtopia i found qt4 and qtopia phone libraries, how to build
applications with them?

thanks

 Nicola
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-25 Thread Michael Tansella
Thank you for your fast answers,

I found the libs here:
http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base/

Now I try to add them to the toolchain.

Greets
Michael




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-25 Thread Michael 'Mickey' Lauer
Am Donnerstag, den 25.09.2008, 18:44 +0200 schrieb Michael Tansella:
> We are 2 Students and are doing a research project with the Freerunner. Now 
> we 
> need to develop a tool with C++ QT. Because of the nice possibilities with 
> dbus we want to do this with FSO.

Good idea! Should be working great.

> Are there QT libs for OM available yet?

They should be. If not, we can add Qt/X11 4.x to the feeds.

> Does the Metatoolchain support it?

Not yet. We need to update it to include Qt/X11.

> We would be very happy if someone could give some hints for the right way.

I don't think I can do that soon, but I'll write on my todo list to
create some examples for Qt/X11 and FSO.

Good Speed!

Mickey.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] How to develop with Qt

2008-09-25 Thread Sudharshan S
On Thu, Sep 25, 2008 at 10:14 PM, Michael Tansella
<[EMAIL PROTECTED]>wrote:

> Hi,
>
> We are 2 Students and are doing a research project with the Freerunner. Now
> we
> need to develop a tool with C++ QT. Because of the nice possibilities with
> dbus we want to do this with FSO. But we dont't know how to do that.
>

Hi Michael,
Since FSO uses DBus as one of its core technologies, it is toolkit agnostic
as long as the toolkit has DBus bindings. As it turns out Qt has very good
DBus support. In case you haven't already taken a look,
http://doc.trolltech.com/4.2/intro-to-dbus.html

Happy Hacking

Sudharshan S
Blog : http://www.sudharsh.wordpress.com
IRC  : Sup3rkiddo @ Freenode, Gimpnet
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[FSO] How to develop with Qt

2008-09-25 Thread Michael Tansella
Hi,

We are 2 Students and are doing a research project with the Freerunner. Now we 
need to develop a tool with C++ QT. Because of the nice possibilities with 
dbus we want to do this with FSO. But we dont't know how to do that.

Are there QT libs for OM available yet?
Does the Metatoolchain support it?
Are there any howtos?

We would be very happy if someone could give some hints for the right way.

All the best
Michael

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community