Qt Quick Renderer 2D
-
@jsulm
I do not get you. These instructions need to execute directly on the BBB, or on a machine where installed qtcreator?@Andrey-Shmelew On your host machine since you're cross-compiling
-
@Andrey-Shmelew On your host machine since you're cross-compiling
@jsulm said in Qt Quick Renderer 2D:
not exactly understand.
Do you mean i can build Qt Quick 2D Renderer only before QT cross-compiling, so i need to rebuild my QT again? -
@jsulm said in Qt Quick Renderer 2D:
not exactly understand.
Do you mean i can build Qt Quick 2D Renderer only before QT cross-compiling, so i need to rebuild my QT again?@Andrey-Shmelew If you used -opengl es2 to build Qt then no need to rebuild it, else you need to rebuild Qt with -opengl es2 (described in the link I posted).
-
@Andrey-Shmelew If you used -opengl es2 to build Qt then no need to rebuild it, else you need to rebuild Qt with -opengl es2 (described in the link I posted).
@jsulm
if i can build and run qtquick 2.0 application on my machine, it means that QT already supports OpenGL and i can skip Building Qt Quick 2D Renderer, and as stated:Build Qt Quick 2D Renderer like any other Qt module: qmake make make install
sorry for the annoyance
-
@jsulm
if i can build and run qtquick 2.0 application on my machine, it means that QT already supports OpenGL and i can skip Building Qt Quick 2D Renderer, and as stated:Build Qt Quick 2D Renderer like any other Qt module: qmake make make install
sorry for the annoyance
@Andrey-Shmelew You need it for BBB not your host PC right? Whether Qt supports OpenGL on your host PC or not is completely irrelevant for BBB. Isn't the absence of OpenGL on BBB the reason you want to have Qt Quick 2D Renderer?
So, the question is: did you build your BBB Qt with -opengl es2 ? -
@Andrey-Shmelew You need it for BBB not your host PC right? Whether Qt supports OpenGL on your host PC or not is completely irrelevant for BBB. Isn't the absence of OpenGL on BBB the reason you want to have Qt Quick 2D Renderer?
So, the question is: did you build your BBB Qt with -opengl es2 ?@jsulm said in Qt Quick Renderer 2D:
did you build your BBB Qt with -opengl es2 ?
i don't really know...
-
@Andrey-Shmelew You need it for BBB not your host PC right? Whether Qt supports OpenGL on your host PC or not is completely irrelevant for BBB. Isn't the absence of OpenGL on BBB the reason you want to have Qt Quick 2D Renderer?
So, the question is: did you build your BBB Qt with -opengl es2 ?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
-
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 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)?
-
@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 -
@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?
-
@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
-
@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
-
@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