Open tio-trom opened 1 year ago
Unfortunately, QStyle is not supported by QML. Try to use QQC2-Desktop-Style from KDE: https://api.kde.org/frameworks/qqc2-desktop-style/html/index.html
export QT_QUICK_CONTROLS_STYLE=org.kde.desktop
That didn't seem to make any difference.... I added export QT_QUICK_CONTROLS_STYLE=org.kde.desktop
but it does not change anything. So basically qt6gtk2 cannot theme the QML-based Qt6 nor is there an easy way to do it?
Unfortunately, I do not know about other solution.
From my tests one needs to add the
export QT_QUICK_CONTROLS_STYLE=gtk2
variable in order to theme the QML-based QT apps. Works for QT5 but for QT6 it will make the apps fail to launch the GUI with errors like:What's the solution?
Thanks