diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2019-10-07 12:27:06 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2019-10-16 09:59:04 +0300 |
commit | 8c10171a7b23c15488bfac1561e843ae41042f4b (patch) | |
tree | b4bfd1f65ac6703775d3cf30457703e3a5bc72a8 | |
parent | b7f4fc66bc5ac53b64658382cf36a7b2f5599281 (diff) |
Fix test linking on CI builds
Since qtbase commit 521a85395, Qt libs are fully resolved and
the default Qt install path is no longer searched for libraries,
tests failed to find libqdb.a on CI builds. Add the default
install path to the search paths.
Change-Id: I1e1e6a1c5c1a84ec47372e6fddb33070affe9df3
Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
-rw-r--r-- | tests/servicetest.pro | 2 | ||||
-rw-r--r-- | tests/streamtest.pro | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/servicetest.pro b/tests/servicetest.pro index fd7d2c5..ef8f047 100644 --- a/tests/servicetest.pro +++ b/tests/servicetest.pro @@ -31,6 +31,8 @@ SOURCES += \ INCLUDEPATH += $$PWD/../ +LIBS += -L$$[QT_INSTALL_LIBS] + unix { LIBS += -L$$OUT_PWD/../libqdb -lqdb } diff --git a/tests/streamtest.pro b/tests/streamtest.pro index b7f1f08..d7ee0fd 100644 --- a/tests/streamtest.pro +++ b/tests/streamtest.pro @@ -25,6 +25,8 @@ SOURCES += \ INCLUDEPATH += $$PWD/../ +LIBS += -L$$[QT_INSTALL_LIBS] + unix { LIBS += -L$$OUT_PWD/../libqdb -lqdb } |