Don't necrobump: https://wiki.archlinux.org/index.php/Co … bumping.22
Closing.
]]>QT_PLATFORMTHEME=qt5ct
QT_PLATFORM_PLUGIN=qt5ct
QT_QPA_PLATFORMTHEME=qt5ct
When I try to launch qt5ct:
$ qt5ct
qt5ct: using qt5ct plugin
(qt5ct:8617): GLib-GObject-WARNING **: 21:32:09.057: cannot register existing type 'GdkDisplayManager'
(qt5ct:8617): GLib-CRITICAL **: 21:32:09.057: g_once_init_leave: assertion 'result != 0' failed
(qt5ct:8617): GLib-GObject-CRITICAL **: 21:32:09.057: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(qt5ct:8617): GLib-GObject-WARNING **: 21:32:09.057: invalid (NULL) pointer instance
(qt5ct:8617): GLib-GObject-CRITICAL **: 21:32:09.057: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(qt5ct:8617): GLib-GObject-WARNING **: 21:32:09.057: invalid (NULL) pointer instance
(qt5ct:8617): GLib-GObject-CRITICAL **: 21:32:09.057: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(qt5ct:8617): GLib-GObject-WARNING **: 21:32:09.057: cannot register existing type 'GdkDisplay'
(qt5ct:8617): GLib-CRITICAL **: 21:32:09.057: g_once_init_leave: assertion 'result != 0' failed
(qt5ct:8617): GLib-GObject-CRITICAL **: 21:32:09.057: g_type_register_static: assertion 'parent_type > 0' failed
(qt5ct:8617): GLib-CRITICAL **: 21:32:09.057: g_once_init_leave: assertion 'result != 0' failed
(qt5ct:8617): GLib-GObject-CRITICAL **: 21:32:09.057: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
fish: “qt5ct” terminated by signal SIGSEGV (Address boundary error)
The thread is marked as solved but I can't find a suitable solution for me. Did I miss something? How can we solve this mess?
]]>You should be able to run qt5ct without error after installing lxsession-git package
choose gtk2 and apply the setting. Enjoy your gtk2 experiance on QT 5.7
]]>Months later… Is there a "correct" way to go now?
Only workarounds.
They will enable GTK Theming again in QT 5.8, due november.
]]>Add line 'export QT_QPA_PLATFORMTHEME=qt5gtk2' to ~/.profile and re-login.
]]>QT_QPA_PLATFORMTHEME=gtk2
And virtualbox looks the same even if I use QT_STYLE_OVERRIDE=clearlooks. And this happens as a new user too.
I removed qt5-styleplugins: virtualbox is usable. Installed it back - the problem comes back.
]]>Virtualbox 5.1 uses Qt5, but I see no difference to other Qt5 applications.
Oh it just updated, I'm quite sure that 5.0 still used qt4. Then disregard my advice and update virtualbox marmistrz.
]]>Currently the Qt apps don't look that bad for me. Previously I played with qt5ct a little and I chose some theme, which broke the theming even more. So I cleaned my config (removed most ~/.* from my home folder), most apps look correct (such as texmaker)
Only virtualbox follows the problematic style
https://imgur.com/p2Xm6aQWhat can I do with it?
Virtualbox uses qt4 AFAIK, use qtconfig-qt4 for changing Virtualbox theming.
]]>Only virtualbox follows the problematic style
https://imgur.com/p2Xm6aQ
What can I do with it?
]]>