summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-09-04 09:45:26 +0200
committerLars Knoll <lars.knoll@qt.io>2020-09-12 23:35:56 +0200
commit557623cc4f22295e5e89462dfdff20d78b3b9cdc (patch)
treea10e2bf2b43ddae1cf90cf8005eb0e2957f716f7 /tests/auto/corelib
parentd24174918f1f224cd32f41b1a640a9db27965e64 (diff)
Rename QLibraryInfo::location() to path()
As per ### Qt6 comment. Also rename the LibraryLocation enum to LibraryPath. Change-Id: I556025a19c5bcdf2ff52598eaba32269522d4128 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r--tests/auto/corelib/tools/qsharedpointer/externaltests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qsharedpointer/externaltests.cpp b/tests/auto/corelib/tools/qsharedpointer/externaltests.cpp
index 21ef6e8e35..11487d4b3e 100644
--- a/tests/auto/corelib/tools/qsharedpointer/externaltests.cpp
+++ b/tests/auto/corelib/tools/qsharedpointer/externaltests.cpp
@@ -590,7 +590,7 @@ namespace QTest {
<< QLatin1String("project.pro");
qmake.setWorkingDirectory(temporaryDirPath);
- QString cmd = QLibraryInfo::location(QLibraryInfo::BinariesPath) + "/qmake";
+ QString cmd = QLibraryInfo::path(QLibraryInfo::BinariesPath) + "/qmake";
#ifdef Q_OS_WIN
cmd.append(".exe");
#endif