Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.0
-
None
-
Ubuntu 18.04.3
-
bb333700054e4c1e699d907e67f4e6be498968a1 (qt/qtquickcontrols2/dev)
Description
Using any of the supported methods to set a style no longer works with the Gallery example.
When running the example with QT_LOGGING_RULES=qt.quick.controls*=true, this is the output:
15:53:10: Starting /home/mitch/dev/qt-dev-debug/qtquickcontrols2/examples/quickcontrols2/gallery/gallery ... qt.quick.controls.style: resolving style qt.quick.controls.style: done resolving: style="Material" custom=false resolved=true fallbackStyle="" fallbackMethod=":/qtquickcontrols2.conf" configFilePath=":/qtquickcontrols2.conf" qt.quick.controls.qtquickcontrols2plugin: registerTypes() called with uri QtQuick.Controls qt.quick.controls.style: resolving style qt.quick.controls.style: done resolving: style="Material" custom=false resolved=true fallbackStyle="" fallbackMethod=":/qtquickcontrols2.conf" configFilePath=":/qtquickcontrols2.conf" qt.quick.controls.qtquickcontrols2plugin: style: "Material" effective style: "Material" fallback style: "" effective fallback style: "Default" qt.quick.controls.qtquickcontrols2plugin: creating QQuickTheme instance to be initialized by style-specific theme of "Material" qt.quick.controls.qtquickcontrols2plugin: calling qmlRegisterModuleImport() to register fallback style with uri " QtQuick.Controls " moduleMajor -1 import "QtQuick.Controls.Default" importMajor -2 qt.quick.controls.qtquickcontrols2plugin: calling qmlRegisterModuleImport() to register primary style with uri "QtQuick.Controls" moduleMajor -2 import "QtQuick.Controls.Material" importMajor -2 qt.quick.controls.styleplugin: registerTypes called with uri QtQuick.Controls.Material; plugin name is "Material" qt.quick.controls.styleplugin: registerTypes called with uri QtQuick.Controls.Default; plugin name is "Default" qt.quick.controls.styleplugin: registerTypes called with uri QtQuick.Controls.Universal; plugin name is "Universal" qt.quick.controls.control.itemmanagement: hiding old item QQuickListView(0x6110001cb780, parent=0x6110001c3940, geometry=24,6 192x32) qt.quick.controls.control.itemmanagement: hiding old item QQuickListView(0x6110001c8d00, parent=0x6110001c68c0, geometry=24,6 192x2) 15:53:12: /home/mitch/dev/qt-dev-debug/qtquickcontrols2/examples/quickcontrols2/gallery/gallery exited with code 0
Attachments
Issue Links
- relates to
-
QTBUG-88955 [REG 5.15.2 -> 6.0.0] Cannot change style of quickcontrols2 gallery example using the menu
- Closed
- resulted from
-
QTBUG-82922 Register types declaratively
- Closed
For Gerrit Dashboard: QTBUG-86263 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
311798,9 | Fix examples' usages of styles | dev | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |