Skip to content

Commit ae278b7

Browse files
committed
try with explicit platform
1 parent 5675f00 commit ae278b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/auto/autoupdatercore/UpdaterTest/installercontroller.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ void InstallerController::installLocal()
6464
{
6565
qDebug() << "Installing example";
6666
QVERIFY(QFile::exists(toSystemExe(_buildDir.path() + "/QtAutoUpdaterTestInstaller")));
67+
#if defined(Q_OS_WIN32)
68+
auto res = QProcess::execute(toSystemExe(_buildDir.path() + "/QtAutoUpdaterTestInstaller"), {"-platform", "windows", "--script", configScript, "--verbose"});
69+
#else
6770
auto res = QProcess::execute(toSystemExe(_buildDir.path() + "/QtAutoUpdaterTestInstaller"), {"--script", configScript, "--verbose"});
71+
#endif
6872
QCOMPARE(res, 0);
6973
}
7074

0 commit comments

Comments
 (0)