qtdeclarative/tests/auto/quickcontrols2/styleimports
Mitch Curtis 5ebe130bbe Add file selector for custom styles when using run-time style selection
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 fdd62a5b81)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-06-04 09:13:59 +00:00
..
data Add file selector for custom styles when using run-time style selection 2022-06-04 09:13:59 +00:00
resources/ResourceStyle Restructure tests in preparation for merging into qtdeclarative 2021-08-02 13:05:48 +02:00
CMakeLists.txt Consolidate test helpers into private libraries 2021-09-14 12:13:57 +02:00
tst_styleimports.cpp Add file selector for custom styles when using run-time style selection 2022-06-04 09:13:59 +00:00