Solved Qt Creator 4.14.2 completely unusable (Debian)?
-
Hi.
I just started from a clean Debian 10.8 installation (also tried with clean 10.4) (Gnome) and installed Qt 5.15.2 using the current online installer to ~/Qt as usual.
Installation is on a VMWare Player 16 virtual machine.Installation proceeds normally it seems, but:
- Qt Creator does not launch once installation is completed, as usual and as check-box requested.
- The launcher icon in the Applications does not work
The application icon does not work, but launching from the command line works after setting env. variables:
export QT_QPA_PLATFORM=wayland export QT_PLUGIN_PATH=/home/dirac/Qt/5.15.2/gcc_64/plugins
However, once started, Qt Creator is essentially unusable because of display problems:
- the display flickers all over the place when hovering over items.
- the editor does not repaint correctly when scrolling,
- etc..
The following gif shows a snapshot of the problem:
Anyone else experiencing these problems lately?
-
@Diracsbracket Don't set those variables but QT_DEBUG_PLUGINS (https://doc.qt.io/qt-5/debug.html) then start QtCreator and post the output from terminal here.
-
dirac@busterPC:~/Qt/Tools/QtCreator/bin$ QT_DEBUG_PLUGINS=1 ./qtcreator Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. QFactoryLoader::QFactoryLoader() checking directory path "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so" Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "eglfs" ] }, "archreq": 0, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so" Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "linuxfb" ] }, "archreq": 0, "className": "QLinuxFbIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("linuxfb") QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so" Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimal" ] }, "archreq": 0, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so" Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimalegl" ] }, "archreq": 0, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so" Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "archreq": 0, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so" Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "vnc" ] }, "archreq": 0, "className": "QVncIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("vnc") QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "archreq": 0, "className": "QXcbIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/home/dirac/Qt/Tools/QtCreator/bin/platforms" ... Cannot load library /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory) QLibraryPrivate::loadPlugin failed on "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)" qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. 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, xcb. Aborted dirac@busterPC:~/Qt/Tools/QtCreator/bin$
I tried to enable
wayland
because Ilibxcb-util.so.1
could not be found, which in turn led me to export the plugins dir.Then, I read https://bugreports.qt.io/browse/QTBUG-88688, which indeed reports that
libxcb-util.so.1
does not exist in Debian Buster. So, I created a symlink fromlibxcb-util.so.0
to it, which seems to have solved the problem.Thanks!