aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qquickstyleselector/qquickstyleselector.pro
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-04-23 19:34:15 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-04-25 07:19:42 +0000
commitf2ede1a01237c0ff0285716359a8b57a6676a94d (patch)
treedf970a6cae126a6698706370232e878c595c1f14 /tests/auto/qquickstyleselector/qquickstyleselector.pro
parent99fa43b3708d6615e17d0cc5561aca78a9c72d1a (diff)
QQuickStyleSelector: fix relative path handling
This makes it possible to pass a relative path to the style: ./myapp -style relative/path/to/my/style To make the tests pass, includes a fix to avoid double slashes in selected URLs. Change-Id: I1b366eb7793523dd0f1058236661cedaa1216f3d Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests/auto/qquickstyleselector/qquickstyleselector.pro')
-rw-r--r--tests/auto/qquickstyleselector/qquickstyleselector.pro19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/qquickstyleselector/qquickstyleselector.pro b/tests/auto/qquickstyleselector/qquickstyleselector.pro
new file mode 100644
index 00000000..c56e5732
--- /dev/null
+++ b/tests/auto/qquickstyleselector/qquickstyleselector.pro
@@ -0,0 +1,19 @@
+CONFIG += testcase
+TARGET = tst_qquickstyleselector
+SOURCES += tst_qquickstyleselector.cpp
+
+osx:CONFIG -= app_bundle
+
+QT += core-private gui-private qml-private quick-private quickcontrols2-private testlib
+
+include (../shared/util.pri)
+
+resourcestyle.prefix = /
+resourcestyle.files += $$PWD/ResourceStyle/Button.qml
+RESOURCES += resourcestyle
+
+TESTDATA = data/*
+
+OTHER_FILES += \
+ data/*
+