aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2021-10-21 23:49:01 +0300
committerIvan Komissarov <ABBAPOH@gmail.com>2021-10-26 10:12:57 +0000
commit24044d6da5d3f3725adc134fdb7e71fe398381ff (patch)
treeb612900d1390ed0e0bf80a0267cd2d7d7b175f35 /tests
parent6812665a5e4de5b974b56d12d0bf6b7db19c58a3 (diff)
Split libDirs and extraPaths variables
pkg-config has 2 different variables - PKG_CONFIG_LIBDIR overrides the default search paths and PKG_CONFIG_PATH prepends paths to the default paths or paths set via PKG_CONFIG_LIBDIR. Change-Id: I8f67b7bbae9325b17abb20ec5eb8d037626c8089 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/pkgconfig/tst_pkgconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/pkgconfig/tst_pkgconfig.cpp b/tests/auto/pkgconfig/tst_pkgconfig.cpp
index 1b04d231b..542984378 100644
--- a/tests/auto/pkgconfig/tst_pkgconfig.cpp
+++ b/tests/auto/pkgconfig/tst_pkgconfig.cpp
@@ -72,7 +72,7 @@ void TestPkgConfig::pkgConfig()
Options options = qbs::Internal::PkgConfigJs::convertOptions(
QProcessEnvironment::systemEnvironment(), optionsMap);
- options.searchPaths.push_back(m_workingDataDir.toStdString());
+ options.libDirs.push_back(m_workingDataDir.toStdString());
PkgConfig pkgConfig(std::move(options));