helloSystem / QtPlugin

Qt platform plugin and style, required for Qt applications to export their menus over D-Bus in the required format
5 stars 4 forks source link

Port to Qt6 #28

Open probonopd opened 7 months ago

probonopd commented 7 months ago

In order to get Qt6 applications (e.g., Qt Creator in 2024Q1 packages) to use our theme and work correctly, we need to build a version of QtPlugin for Qt6.

Issues:

probonopd commented 7 months ago

Half-working workaround to get global menus working for Qt6 applications:

sudo pkg install plasma6-plasma-integration
export QT_QPA_PLATFORMTHEME=kde
qtcreator

This results in /usr/local/lib/qt6/plugins/platformthemes/KDEPlasmaPlatformTheme6.so being used, which has support for global menus.

Attention: As of 2024Q1, doing this REMOVES the kf5-baloo package, which in turn renders the Menu unusable! (Presumably because both the Qt5 and Qt6 based versions of /usr/local/bin/kwallet-query want to install into the same location. What a mess!)