Raspberry Pi and Qt Quick



  • Is there a way to increase the speed of a Quick application on raspberry pi? I'm testing two new applications, with Qt 5.5.0 but they are too slow. When I click on a button for example I obtain the form after seconds... And one core is ever at 90 %.
    Have you got a suggestion for me? It is very important.



  • Hi, which platform plugin are you using? There is significant performance difference between eglfs and xcb. And in linuxfb you don't have opengl support for needed for QtQuick2.0 at all. Could you past piece of code, that's causing the problem?



  • Please have a look at
    https://forum.qt.io/topic/57801/unresolved-correct-way-to-compile-qt-for-raspberry-pi/1
    The problem is between Raspberry Pi (Debian 8) - Qt 5.5 - OpenGL ES.
    I can't run my QtQuick application in Raspberry Pi.



  • Well I'm still on Debian 7.8 but the config output was +/- same. The OpenGL ............... yes (OpenGL ES 2.0+) is there. You need to get platform egls working.

    Check for available platforms:
    #/usr/local/qt5pi/bin/qmlscene --platform ?
    This application failed to start because it could not find or load the Qt platform plugin "?".

    Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.

    And then run it with:
    /usr/local/qt5pi/bin/qmlscene --platform eglfs file.qml

    Other platforms are slowon RbPi2



  • Perfect, you have understood perfectly.
    For me is very important to find the solution. If not I must downgrade from Qt Quick to Qt Widgets.
    The others OpenGL ES applications (mot based on Qt) seem to work perfectly.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.