Code: Select all
QT_QPA_PLATFORMTHEME=qt5ct
After rebooting, I saw that none of the Qt apps that I use want to start (with the exception of one Qt program that I've self compiled). Starting the apps from a terminal, I get this in the stdout:
Code: Select all
$ keepassxc
qt5ct: using qt5ct plugin
(keepassxc:1644): GLib-GObject-WARNING **: 20:32:50.485: cannot register existing type 'GdkDisplayManager'
(keepassxc:1644): GLib-CRITICAL **: 20:32:50.485: g_once_init_leave: assertion 'result != 0' failed
(keepassxc:1644): GLib-GObject-CRITICAL **: 20:32:50.485: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(keepassxc:1644): GLib-GObject-WARNING **: 20:32:50.485: invalid (NULL) pointer instance
(keepassxc:1644): GLib-GObject-CRITICAL **: 20:32:50.485: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(keepassxc:1644): GLib-GObject-WARNING **: 20:32:50.485: invalid (NULL) pointer instance
(keepassxc:1644): GLib-GObject-CRITICAL **: 20:32:50.485: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(keepassxc:1644): GLib-GObject-WARNING **: 20:32:50.485: cannot register existing type 'GdkDisplay'
(keepassxc:1644): GLib-CRITICAL **: 20:32:50.485: g_once_init_leave: assertion 'result != 0' failed
(keepassxc:1644): GLib-GObject-CRITICAL **: 20:32:50.485: g_type_register_static: assertion 'parent_type > 0' failed
(keepassxc:1644): GLib-CRITICAL **: 20:32:50.485: g_once_init_leave: assertion 'result != 0' failed
(keepassxc:1644): GLib-GObject-CRITICAL **: 20:32:50.485: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
Segmentation fault
I've since removed the line I added to /etc/environment, and rebooted again, but I still can't get those apps to work.
Searching around for the errors above didn't give me any conclusive answers, so does anyone know what to look into to fix this issue? And perhaps to solve the problem of inconsistent look between apps of differing GUI toolkits?