Previously this was only available for QQuickStylePlugin-based styles.
This patch makes it available for qmldir-based styles when using
run-time style selection.
The existing documentation doesn't differentiate between built-in
styles and custom styles:
"Qt Quick Controls extends the built-in selectors with the name
(lowercase) of the style that an application is running with."
So this is a bug fix.
Change-Id: Ib2ed56ad8398db49d192db6a6023d776caaa4457
Fixes: QTBUG-99117
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
(cherry picked from commit
|
||
---|---|---|
.. | ||
data | ||
resources/ResourceStyle | ||
CMakeLists.txt | ||
tst_styleimports.cpp |