Solved Deploy on BBB: cannot execute binary file: Exec format error
-
This post is deleted! -
i have built qt for BBB as described in the link i posted in previous post and it finally works! I can deploy my QT project now. WOW!!! But not all projects. (sad)
Because of some reason apps that are built with qtquick does not start!
But there are a lot of videos with QtQuick running on BBB (for ex. https://www.youtube.com/watch?v=eDrBCzNSWaQ)
i think it happens because of absent of necessary drivers.
how can i start qtquick app on BBB,
could anybody help me with this problem? -
@Andrey-Shmelew As far as I know QtQuick requires OpenGL?
-
@jsulm
Right! And as far as i know BBB does not have GPU.
But if you look at the video u can see working qtquick. (who knows maybe it is a cheating).
is it possible to make QtQuick without openGL using?
Thanks! -
@Andrey-Shmelew Probably software rendering. But I don't know how to activate it. Maybe anybody else knows?
-
@jsulm
there is a Qt Quick 2D Renderer, that works instead OpnGL ES 2 on boards without GPU like BBB, seems to be good for me.
As described, i should use :
export QMLSCENE_DEVICE=softwarecontext
but i have no idea what does this string mean.
Any thoughts? -
@Andrey-Shmelew It defines environment variable QMLSCENE_DEVICE and assigns it "softwarecontext" as value. I guess QtQuick checks that variable and activates software rendering if it is set to "softwarecontext".
So, you first set this variable and then (in the same console) you start your application. -
mark as solved, please
-
@Andrey-Shmelew Sorry, it's your thread you should mark it as solved.
-
An another issue,
i want to use Charts in my application.
When i compile app for Windows,its okay, but when i compile it for Linux, it can not find charts module (Unknown module(s) in QT: charts), even if there is 'QT += charts' inside myproject.pro file. As i understand, i need to rebuild qt creator for linux with charts module, right?