Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions

qt quick 2d render doesn't work in embedded linux with powerpc cpu



  • I want to use qt quick in our own device which run embedded linux on a powerpc cpu, but the device doesn't support openGL. So, I cross-compiled qt with opengl support and qt quick 2d render. Everything seems ok. Then, I cross-compiled a HelloWorld qt quick project, and deploy it to our device, run it, no error messages, but the LCD doesn't say "Hello World" as I expected.
    Ps: Our embedded device can support linuxfb, and widget poject is ok.

    Can anyone give me some suggestion? Thank you.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Maybe a silly question but did you call export QMLSCENE_DEVICE=softwarecontext before starting your application ?

    If this is not enough, Qt Quick 2D renderer is a licensed feature, you should contact the Qt Company in the help center on your Qt Account page



  • @SGaist Yes,I have set that variable. I will contact The Qt Company for help. Thanks anyway.


Log in to reply