AUG
2
2018

LibreOffice doesn't start if QT_NO_GLIB is set

That was a surprising find. Libreoffice wouldn't start anymore (just some splash screen with a progressbar, then nothing happens).

After some debugging (comparing my normal zsh session where it wouldn't start, with a clean `sudo -u dfaure bash` session where it worked), I found the culprit. I had QT_NO_GLIB=1 in my environment for some reason, and that's what breaks libreoffice...

Posting this in case it helps someone one day ;)

Comments

I would expect this to also be the case for integration with other GTK things, like things using Qt/GStreamer glued together or something firefox-ish. Maybe such integrations should test early for their event dispatchers ?


By Sune at Thu, 08/02/2018 - 12:13

Konsole accidentally sets QT_NO_GLIB for processes running in it. This should fix it: https://phabricator.kde.org/D14558


By Andreas Hartmetz at Thu, 08/02/2018 - 16:23