Unsolved QXcbConnection error at startup
-
When running the following application from QtCreator (4.2.0) using Qt5.7.1
#include <QGuiApplication> int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); return app.exec(); }
I get the following error
QML debugging is enabled. Only use this in a safe environment. QXcbConnection: XCB error: 179 (Unknown), sequence: 174, resource id: 0, major code: 153 (Unknown), minor code: 20
Any idea how to avoid/mask this error?
-
Hi,
What Linux distribution are you running ?
What desktop environnement are you using ?
Did you test your application using your distribution provided Qt ? -
We are running Debian Wheezy (Yes, I know :-)) , desktop environment xfce4.
I've only tested against Qt5.7.1, not against Qt provided by the distribution (and I would rather not install it since I'm afraid it might break our current setup) -
The thing is, it's likely already installed just not the développement packages.
Can you check which version it is ?
You X installation might be too old.
-
Next to my
/usr/local/Qt5.7.1
, I indeed also have/usr/include/qt4
/usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6
(and other .so files)
-
What desktop environment are you using ?
-
My desktop environment is xfce4
Obviously this is a very minor issue so don't spend too much of your time on this (although I do appreciate your support!).