File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
tests/auto/autoupdatercore/UpdaterTest Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ SOURCES += tst_updatertest.cpp \
1919 installercontroller.cpp
2020DEFINES += SRCDIR =\ \\"$$PWD/\\\"
2121DEFINES += BINDIR =\ \\"$$[QT_INSTALL_BINS]/../../../Tools/QtInstallerFramework/2.0/bin/\\\"
22+ DEFINES += QTDIR =\ \\"$$[QT_INSTALL_BINS]/../../../\\\"
2223
2324HEADERS += \
2425 installercontroller.h
Original file line number Diff line number Diff line change @@ -86,12 +86,7 @@ void UpdaterTest::testUpdateCheck_data()
8686
8787 updates.clear ();
8888
89- #ifdef Q_OS_WIN
90- path = " C:/Qt" ;
91- #else
92- path = QStandardPaths::writableLocation (QStandardPaths::HomeLocation) + " /Qt" ;
93- #endif
94- QTest::newRow (" Qt" ) << path + " /MaintenanceTool"
89+ QTest::newRow (" Qt" ) << QTDIR + QStringLiteral (" MaintenanceTool" )
9590 << false
9691 << updates;
9792}
You can’t perform that action at this time.
0 commit comments