diff --git a/tests/auto/environment/tst_environment.cpp b/tests/auto/environment/tst_environment.cpp index 2fd11245f8a..1b870ddd6da 100644 --- a/tests/auto/environment/tst_environment.cpp +++ b/tests/auto/environment/tst_environment.cpp @@ -363,7 +363,7 @@ void tst_Environment::pathChanges() QFETCH(QString, value); QFETCH(Environment, expected); - const QString sep = HostOsInfo::pathListSeparator(); + const QString sep = OsSpecificAspects::pathListSeparator(environment.osType()); if (prepend) environment.prependOrSet(variable, value, sep);