Skip to content

Commit f4aceb1

Browse files
committed
try min plat via env
1 parent 2999f31 commit f4aceb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/auto/autoupdatercore/UpdaterTest/installercontroller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ QString toSystemExe(QString basePath)
6363
void InstallerController::installLocal()
6464
{
6565
qDebug() << "Installing example";
66-
QVERIFY(QFile::exists(toSystemExe(_buildDir.path() + "/QtAutoUpdaterTestInstaller")));
66+
qputenv("QT_QPA_PLATFORM", "minimal");
6767
auto res = QProcess::execute(toSystemExe(_buildDir.path() + "/QtAutoUpdaterTestInstaller"), {"--script", configScript, "--verbose"});
6868
QCOMPARE(res, 0);
6969
}

0 commit comments

Comments
 (0)