AnsweredAssumed Answered

How to start Qt application development under Yocto

Question asked by hkh on Jul 3, 2014
Latest reply on Jul 3, 2014 by hkh

I have been reading blogs trying to figure out how to develop Qt applications for iMX6 under Yocto. I need to understand what the process is (I have not used Qt before).


I can build various Yocto images and run them on my Nitrogen6x board. For example, fsl-image-gui comes up with the GUI, and I can run qtdemo. When I try to run qtdemo from the console, it says it can't find (or connect) to X Server. Maybe the GUI is interfering?


I saw suggestions of using qte-in-use-image, but it appears that it has it's own problems (for example gstreamer may not be included, issues with X Server, etc). And, I am not sure if that resolves the issue I have with running the demo (and eventually running my own application).


I don't care about the GUI that comes with fsl-image-gui since I want to have my own application, but I need VPU and other hardware support for MIPI camera, H.264 compression, and other image processing tasks performed in hardware.


Can someone point me in the right direction?