QtCreator upgrade breaks QtCreator
-
When using QtCreator I was prompted that upgrades were available (see screenshot)
After I completed the upgrade, QtCreator cannot be started as I get the following errors:
poldi@poldi-VirtualBox:~$ Qt/Tools/QtCreator/bin/qtcreator Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. 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: offscreen, wayland-egl, vkkhrdisplay, minimal, eglfs, minimalegl, vnc, xcb, wayland, linuxfb. Aborted (core dumped)
-
In the comments at https://www.qt.io/blog/qt-creator-12-released we can see the following bits:
On my Linux Mint 21.2, Qt Creator did not start after update. Ran
ldd lib/Qt/plugins/platforms/libqxcb.so
which showedlibxcb-cursor.so.0 => not found
. Seems there is some new dependency here? So installed it with:sudo apt install libxcb-cursor0
Then Qt Creator finally started.
See https://bugreports.qt.io/browse/QTBUG-108796 for the details.
It's unfortunate, but apparently it's by design. Windows at least would pop up a Message Box complaining about the missing dll. Linux doesn't do that with missing so files.
-
I've created https://bugreports.qt.io/browse/QTCREATORBUG-30004 to track this issue.