kde integration
-
Hi,
QtQuickControls don't look native under kde. I found a deb package : [https://packages.debian.org/sid/amd64/qml-module-qtquick-controls-styles-breeze/filelist] for the kde standard "breeze" theme.
I tried in the ccp code :QQuickStyle::addStylePath("/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/"); QQuickStyle::setStyle("Breeze");
but I can't make it work. any idea on how to to it (and more generally having a better KDE integration ?
Thanks
Jimmy -
What does
QQuickStyle::availableStyles()
returns? -
Default Base Breeze Desktop Flat Plasma Fusion Imagine Material Universal
Hum seems ok, , and QQuiclStyle::name() returns Breeze.
I thought seetings "Breeze" would change QQuickControls aspect but I think I'm wrong. Should I instead import Breeze in components in my qml files ? how to do it ? -
Default Base Breeze Desktop Flat Plasma Fusion Imagine Material Universal
Hum seems ok, , and QQuiclStyle::name() returns Breeze.
I thought seetings "Breeze" would change QQuickControls aspect but I think I'm wrong. Should I instead import Breeze in components in my qml files ? how to do it ?I thought seetings "Breeze" would change QQuickControls aspect but I think I'm wrong.
@Jim-Gir, yeah:
print( "Current QQuickStyle: ", PySide6.QtQuickControls2.QQuickStyle.name() ) PySide6.QtQuickControls2.QQuickStyle.setStyle("Breeze") print( "Current QQuickStyle: ", PySide6.QtQuickControls2.QQuickStyle.name() )
...returns "Fusion", then "Breeze", yet the controls appear identical regardless, despite them being quite different styles:
Fusion Breeze Perhaps, ask at
discuss.kde.org/t/1240
, or a new thread on that instance?Environment
Operating System: Fedora Linux 42 KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.1 Kernel Version: 6.15.9-201.fc42.x86_64 (64-bit) Graphics Platform: Wayland