How to force use XCB
-
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
-
wrote on 3 Feb 2016, 04:48 last edited by
Done, but same issue. I use Jessie.
Br. Niko H.
-
Do you mean black screen ?
-
wrote on 4 Feb 2016, 16:27 last edited by
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 ?
-
wrote on 6 Feb 2016, 21:17 last edited by
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. -
wrote on 10 Feb 2016, 19:55 last edited by
@SGaist No errors.
-
Do you have an Xorg server running ?
-
wrote on 21 Feb 2016, 14:03 last edited by
@SGaist yes it's running
-
Do you have any error appearing on the console ? How are you starting your application ? What kind of application is it ?
-
wrote on 22 Feb 2016, 14:33 last edited by
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 -
wrote on 8 Mar 2016, 15:31 last edited by
@SGaist Hi, I get no errors