summaryrefslogtreecommitdiff
path: root/qtcreator.pri
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2021-05-10 13:54:19 +0200
committerEike Ziller <eike.ziller@qt.io>2021-05-20 10:03:11 +0000
commit759e15dbb4d3262e174d0d5ef15db355e2b18878 (patch)
treec20a9a52589336709c576a0d945305884f49e419 /qtcreator.pri
parent2c8a9a67610c38e86ca0c2b59b3fa7a3834915ca (diff)
downloadqt-creator-759e15dbb4d3262e174d0d5ef15db355e2b18878.tar.gz
CMake build: put .lib files next to .dll files for libraries
- there is no reason for putting them elsewhere - since CMake file-api only reports the .lib location for linked libraries, Qt Creator has difficulties with adding the correct PATH for running e.g. manual tests, when the .lib files are at an arbitrary location Fixes: QTCREATORBUG-25684 Change-Id: I24b26a79c70fd5384f534f8f0b66b51fca1ecc56 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'qtcreator.pri')
-rw-r--r--qtcreator.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtcreator.pri b/qtcreator.pri
index 584e3970d0..a03d88ad31 100644
--- a/qtcreator.pri
+++ b/qtcreator.pri
@@ -193,6 +193,8 @@ CONFIG += \
LIBS *= -L$$LINK_LIBRARY_PATH # Qt Creator libraries
exists($$IDE_LIBRARY_PATH): LIBS *= -L$$IDE_LIBRARY_PATH # library path from output path
+# linking against Qt Creator built with CMake
+win32: LIBS *= -L$$IDE_BUILD_TREE/bin
!isEmpty(vcproj) {
DEFINES += IDE_LIBRARY_BASENAME=\"$$IDE_LIBRARY_BASENAME\"