How to force use XCB
-
How to make force use XCB? Because with egl make only black screen.
Regards, Niko H.
-
Hi,
First you have to build Qt with xcb support and then when starting the application you have to tell it to use that plugin. That also mean you need to have an Xorg server running on your Pi
-
Done, but same issue. I use Jessie.
Br. Niko H.
-
Do you mean black screen ?
-
yes, i get black window, program use qml.
Br, Niko H.
-
Any error message on the console ? Do you have a an Xorg server running ?
-
In my honest opinion you can't use Qml - Quick on xcb (On raspberry Pi) because Quick requires OpenGL ES2.
I have built Qt 5.5.1 for Raspberry Pi in 2 different modes: the first, for QWidgets applications on XOrg (xcb) or framebuffer without OpenGL ES, and a second with OpenGL ES for applications based on Quick, without Xorg.
After many tests I can't run a application based on QWidgets if it Qt was built with OpenGL ES. -
Do you have an Xorg server running ?
-
Do you have any error appearing on the console ? How are you starting your application ? What kind of application is it ?
-
I hope you will resolve yourself.
Anyway I have a lot of open projects based on Raspberry Pi, someone is a console application, some other is xcb, some other QtQuick with OpenGL ES. If you require to have professional support please contact me. I'm gmt+1 (Italy).
info@denisgottardello.it