Propagation of Material style properties in Qt 6.5
Unsolved
General and Desktop
-
I'm porting my code from Qt 6.4 to Qt 6.5 and I'm having trouble with the new Material control style.
In the following code, can someone explain why the foreground property is applied to both buttons, but the roundedScale is not. Is it a bug?
import QtQuick import QtQuick.Window import QtQuick.Controls.Material import QtQuick.Layouts Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Material.foreground: Material.Pink Material.roundedScale: Material.NotRounded Button { text: "hello" // this works here: Material.roundedScale: Material.NotRounded } Button { y: 200 text: "hello2" } }
-
I created a bug report
https://bugreports.qt.io/browse/QTBUG-115287