Hi, > -----Original Message----- > From: Interest <interest-boun...@qt-project.org> On Behalf Of Nuno Santos > Sent: Wednesday, April 19, 2023 5:25 PM > To: Qt Interest <interest@qt-project.org> > Subject: [Interest] Qt 6.5 - The current style does not support customization > of this control > > Hi, > > Yesterday I have installed Qt 6.5 to give it a try. > > I’m having a lot of this warnings on my customised version of ComboBox. I > have already checked the documentation and I still don’t understand what are > causing them
The documentations says that the Windows and macOS styles don't support customisation. Which style are you using? If you're not sure, you can check by setting the QT_LOGGING_RULES environment variable to qt.quick.controls.style=true. https://bugreports.qt.io/browse/QTBUG-96733 has more background information on the issue if you're interested. It would be useful if we could print the current style in the warning, but we can't because QQuickStyle::name() is in Qt Quick Controls, which Qt Quick Templates (where the warning is printed) can't use. > qrc:/qml/UIComboBox.qml:50:17: QML Rectangle: The current style does not > support customization of this control (property: "background" item: > QQuickRectangle(0x60000383f3a0, parent=0x0, geometry=0,0 0x0)). Please > customize a non-native style (such as Basic, Fusion, Material, etc). For more > information, see: https://doc.qt.io/qt-6/qtquickcontrols2- > customize.html#customization-reference > > What am I missing? > > Thanks! > > Regards, > > Nuno > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest