aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-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);