diff --git a/startkde/startkde.cmake b/startkde/startkde.cmake --- a/startkde/startkde.cmake +++ b/startkde/startkde.cmake @@ -94,6 +94,10 @@ #otherwise apps that manually opt in for high DPI get auto scaled by the developer AND manually scaled by us export QT_AUTO_SCREEN_SCALE_FACTOR=0 +#Set the QtQuickControls style to our own: for QtQuickControls1 +#it will fall back to Desktop, while it will use our own org.kde.desktop +#for QtQuickControlsStyle and Kirigami +export QT_QUICK_CONTROLS_STYLE=org.kde.desktop # XCursor mouse theme needs to be applied here to work even for kded or ksmserver if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" ; then diff --git a/startkde/startplasma.cmake b/startkde/startplasma.cmake --- a/startkde/startplasma.cmake +++ b/startkde/startplasma.cmake @@ -49,6 +49,11 @@ esac fi +#Set the QtQuickControls style to our own: for QtQuickControls1 +#it will fall back to Desktop, while it will use our own org.kde.desktop +#for QtQuickControlsStyle and Kirigami +export QT_QUICK_CONTROLS_STYLE=org.kde.desktop + # Activate the kde font directories. # # There are 4 directories that may be used for supplying fonts for KDE.