aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/styles/tst_styles.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-04-21 23:29:11 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-04-22 06:28:58 +0000
commit7e7d6d6c73920e1bc1df31b108280a7f165c74b1 (patch)
tree807e5ad7d2a00ef99b1ed26aa0aa5d7afb17be29 /tests/auto/styles/tst_styles.cpp
parent01cbb8231b0d6f589423b05f3c7ef7a3b3e209f2 (diff)
Rename env vars (QT_LABS_CONTROLS_XXX -> QT_QUICK_CONTROLS_XXX)
Change-Id: Ie903d3491b03d4ec05dd28462a19ee464331d2a2 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests/auto/styles/tst_styles.cpp')
-rw-r--r--tests/auto/styles/tst_styles.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/styles/tst_styles.cpp b/tests/auto/styles/tst_styles.cpp
index 8cdc1152..049e2bc9 100644
--- a/tests/auto/styles/tst_styles.cpp
+++ b/tests/auto/styles/tst_styles.cpp
@@ -42,7 +42,7 @@ static const char* styles[] = { "Material", "Universal" };
int main(int argc, char *argv[])
{
- QByteArray style = qgetenv("QT_LABS_CONTROLS_STYLE");
+ QByteArray style = qgetenv("QT_QUICK_CONTROLS_STYLE");
if (!style.isEmpty())
return quick_test_main(argc, argv, "tst_styles(" + style + ")", TST_CONTROLS_DATA);
@@ -53,7 +53,7 @@ int main(int argc, char *argv[])
for (int i = 0; i < count; ++i) {
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
- env.insert("QT_LABS_CONTROLS_STYLE", styles[i]);
+ env.insert("QT_QUICK_CONTROLS_STYLE", styles[i]);
QProcess process;
process.setProcessEnvironment(env);