Unsolved Qt Quick Renderer 2D
-
@jsulm said in Qt Quick Renderer 2D:
did you build your BBB Qt with -opengl es2 ?
i don't really know...
-
so after tons hours of googling i decided to instal on BBB the lastest image of debian.
then, i updated and upgraded a system on the board.
Now there are no errors about opengl es,
so now when i start application with QTQuick 2.0 only these errors appear:
QXcbConnection: Failed to get the primary output of the screen
QXcbConnection: XCB error: 170 (Unknown), sequence: 164, resource id: 90, major code: 146 (Unknow
n), minor code: 20.and... nothing else happens
-
@Andrey-Shmelew Do you have a X server running on BBB?
-
-
@Andrey-Shmelew Then you should read about it. It is the graphics environment used on UNIX/Linux machines. Do you have ANY graphics on your BBB (connected display with graphics, not text mode)?
-
@jsulm
yes, i have 10 inch display with HDMI, and applications that are not qtquick are running excellent on it,
also i can run these applicastions on my host machine throught SmartTTY XmingX -
@Andrey-Shmelew Are those applications GUI applications? How do you start them? And how do you start your application?
-
@jsulm
yes.
i take an GUI example (for example - Composition), compile it in my host machine for BBB, then i upload binary file to BBB, then i open linux on BBB and check this binary file as "make file executable" , then double click on the file and it starts,
all the same steps are for GUI with qtquick2.while i write this post i started example clocks on my beaglebone black and it started well!
Thank you
-
@Andrey-Shmelew Are you still trying to use software renderer?
root@beaglebone:/media/rootfs/media# export QMLSCENE_DEVICE=softwarecontext root@beaglebone:/media/rootfs/media# ./noopengl
-
no, i am not using software renderer,
i just compile and download clocks example, but it works slowly