How to use Qml on Raspberry Pi, I need an help, for payment if it's necessary.
I can't use a Qml application on a Raspberry Pi.
The scenario is:
Qt 5.5.1 with OpenGL ES enabled.
Raspberry Pi with standard Debian 8.
I need a guide on how to compile correctly Qt and how to setup Raspberry Pi.
I can show a hello world Qml application for the tests that works on a intel machine but does not start on Raspberry Pi.
If you are interested please send me an email at email@example.com
Leonardo last edited by
Which Raspberry do you have? Version 1 or 2? I think that for the first one it's not possible. See:
With Raspberry Pi2 Model B and B+.
In the past I could run a Qml application on Raspberry Pi. I don't remember which version of Qt I have used but there was a problem. Each time I could update the ui (for example with a timer with seconds) the cpu gone up to 100%.
Now, having EGLFS ................ yes, still I can't run a Qml application. I can run only QWidgets application.
Nobldy knows how?
tekojo last edited by
@mrdebug this is probably the wrong forum, I'll move this to embedded and mobile.
Also the RPi2 is a pretty new platform, so some testing is probably needed.
After a lot of time spent on searching the right way to build Qt from source now I finally have my QtQuick and Qt OpenGL applications working in my Raspberry Pi device, using an hdmi display.
Now the question is: can I have my OpenGL applications working in this display?
You should rather ask the screen author directly. It seems they provide a software package to make the Pi use it like a normal screen.
After having read the display howto I have decided to use the QWidgets with this kind of display and Quick - OpenGL with the hdi display.
To have my applications working with and without OpenGL support I had to build Qt in two different way because, if I build a QWidgets application with Qt (OpenGL enabled) the program does not start.
I think it is not possible to require more from Qt framework.