qt-creator 4.14.0 failed to launch on debian buster with qt 6.0
-
Hi I have this message when I launch qtcreator :
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
-
thanks SGaist ,it works with qtcreator 4.12
-
Hi,
There are quite a number of similar question on the forum, please take the time to search through it.
The xcb plugin is likely missing a dependency. Either start Qt Creator with the QT_DEBUG_PLUGINS environment variable set to 1 or check the plugin with ldd.
-
thanks SGaist but there is n't any libqxcb.so in platforms/plugins.how to specify the path of Qt and should I try with the 6.0.3?
-
Which version of Qt Creator should it be ?
How did you install it ?
-
HI it is qtcreator 4.14.0 but perhaps there a lower version of qtcreator that function with qt 6.because I found libqxcb.so but the libxcbutil on my debian is too old
-
@SGaist do you think I can try qtcreator 4.13 with qt6?
-
The Qt version you use to build your application and Qt Creator are unrelated. You can even use Qt 4 and perhaps still Qt 3.
-
thanks SGaist,so I will try qtcreator 4.13
-
thanks SGaist ,it works with qtcreator 4.12
-
@SGaist I have the same problem for my programs compiled with Qt6 so I think I should upgrade to debian sid
-
@SGaist HI I am installing debian bullseye alpha3 because there is a new version of libxcb on it.I cannot compile the library under windows too (6.0.2 and 6.0.3) with cmake and mingw64 because there are errors
regards -
Depending on the version of the library missing, you might be able to cheat and create the missing symbolic link to your current library.
-
@SGaist I have another problem now when I launch my program in debug in qtcreator it stops at main or QAPPlplication and in the application output "could not find the qt platform plugin xcb .so I think I should have installed libxcb before compiling Qt and it is not the case.do you think I should compile again Qt ?
-
You need to have the development package for it installed before building.
I would try to call configure again rather than build from scratch. If it's note running the tests again, nuke the corresponding folder.
-
Did you check what exact error message you have ?
Did you start your application with the QT_DEBUG_PLUGINS environment variable set to 1 ? -
@SGaist HI I Have this message 'qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc.
and when I look in /opt/qt6.0.3/qtbase/plugins/platforms/ there isnt any library libqxcb.so. -
@stephane78-0 said in qt-creator '.4.14.0 failed to launch on debian buster with qt 6.0:
and when I look in /opt/qt6.0.3/qtbase/plugins/platforms/ there isnt any library libqxcb.so.
Then libqxcb.so was not built. You should check config.log to finf out why it was not built.
-
@SGaist ok I have found libx11xcb was not installed on my system so I compile again and come here again.
-
@SGaist I have done a configure and it says ; XCB:
Using system-provided xcb-xinput ..... no
Native painting (experimental) ....... no
GL integrations:
GLX Plugin ......................... no
XCB GLX .......................... no
EGL-X11 Plugin ..................... no