“Hello World !” using Qt with CMake and recipe for OpenEmbedded
by cor on Oct.18, 2009, under Embedded Development
I just wrote a tutorial about Qt. It’s about a simple program with Qt, that gets compiled with CMake.
Then I build a recipe in order to include it in a OpenEmbedded image.
You can see the howto here.
November 21st, 2009 on 3:07 am
Hi, nice article I would to know if you know something about How could I make a standalone gui app without using a X windows into a embedded linux with kernel 2.6, so If you could give me any help to start will be the best.
Regards,
JP
November 21st, 2009 on 10:41 am
Using Qt Embedded you do not need a X11 since it render the application directly into framebuffer.
Qt has it’s own windows server (QWS, which has a quite explicite name :p), so you just need to compile your application, even on a standard PC with Windows or Linux, where you can run your application easily, and then you can test that application by compiling it against Qt Embedded, and you should be able to run it on your embedded plateform simply by specifying the -qws option.
November 27th, 2009 on 7:21 pm
Thanks for the example,
but can you list the actions which have to be done in order to compile the example on the host system and run it on the mini2440?
I mean:
- which packages do I need on my host system?
- how do I start compiling?
- where do I find my executable?
and so on
thanks a lot
December 3rd, 2009 on 6:05 pm
The package are most lickely to be compiled when bitbacking Qt, however I’m not sure they are installed by default. They must be some kind of “qt examples” packet that you can install using opkg, or require at image-baking time.
I think they end up being in some subdir of /usr/share.
January 14th, 2010 on 12:09 pm
Thanks a lot for your howto.
I tried to reproduce your example on linux. Building works fine but I get a segmentation fault (while executing “_button = new QPushButton(this);” in MainWindow).
Qt version: 4.6.0
PATH and LD_PATH set to /Qt-4.6.0/bin/ and /Qt-4.6.0/lib resp.
Do you have an idea what might go wrong?
Thanks
February 10th, 2010 on 1:31 pm
Bonjour, impressionné par ton travail!, je recherche un coup de main pour un projet d’interface FriandlyARM –> Java (c.a.d. la conception d’une librairie accessible en java pour avoir accès au gpio du board). Je me débrouille en java, mais pour l’embedded… c’est une autre histoire. Serais-tu capable de faire ce travail incluant une image complète d’os pour le mini2440 (moyennant rétribution) ?
Merci d’anace pour ta réponse.