QtCreator will not start up, no crash report, no window.
-
I installed Linux as my main Platform or OS. This is a virgin install of Ubuntu 21.04 x86_64. Nothing extra has been added to the OS installation, except Qt & QtCreator. The online installer program works fine here. I tried starting starting various Qt apps such as qtcreator, none would start up, some gave crash reports and others didn't.
-
Hi,
Start Qt Creator from the command line with the QT_ENVIRONMENT_VARIABLE set to 1 to see exactly what is going on.
You are likely missing some Xorg related libraries.
-
I believe Ubuntu 21 has wayland as default platform plugin. Try
export QT_QPA_PLATFORM=wayland
to see if it helps.on X11 systems:
$ echo $XDG_SESSION_TYPE
x11on some wayland system:
$ echo $XDG_SESSION_TYPE
waylandcheck here out
https://www.qt.io/blog/2018/05/29/whats-new-in-qt-5-11-for-the-wayland-platform-plugin -
@JoeCFD said in QtCreator will not start up, no crash report, no window.:
export QT_QPA_PLATFORM=wayland

Here's a screenshot of what I tried last. I am sorry it took so long to answer. I was in the hospital with pneumonia and it was double pneumonia that turned septic and I almost went into septic shock. -
I did something about the way I login to Ubuntu. I changed from wayland to x11 display and qtcreator started up normal.
-
qt5-wayland is needed. Install it ====> https://wiki.qt.io/QtWayland
check this out:
https://unix.stackexchange.com/questions/598099/could-not-find-the-qt-platform-plugin-waylandwayland is supposed to replace x11.