summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rw-r--r--Tools/qmake/projects/run_cmake.pro7
-rw-r--r--Tools/qt/manifest.txt2
2 files changed, 9 insertions, 0 deletions
diff --git a/Tools/qmake/projects/run_cmake.pro b/Tools/qmake/projects/run_cmake.pro
index 5cdd40a77..71872664b 100644
--- a/Tools/qmake/projects/run_cmake.pro
+++ b/Tools/qmake/projects/run_cmake.pro
@@ -63,6 +63,11 @@ build_pass|!debug_and_release {
CMAKE_CONFIG += USE_MINIMAL_DEBUG_INFO_MSVC=ON
}
+ !macos {
+ force_debug_info: CMAKE_CONFIG += FORCE_DEBUG_INFO=ON
+ qtConfig(separate_debug_info): CMAKE_CONFIG += SEPARATE_DEBUG_INFO=ON
+ }
+
macos {
# Reuse the cached sdk version value from mac/sdk.prf if available
# otherwise query for it.
@@ -81,6 +86,8 @@ build_pass|!debug_and_release {
!qt_framework: CMAKE_CONFIG += MACOS_BUILD_FRAMEWORKS=OFF
}
+ linux:isEqual(EXTRA_RPATHS, "."): CMAKE_CONFIG += QT_ORIGIN_RPATH=ON
+
!isEmpty(use_ninja): cmake_args += "-G Ninja"
equals(QMAKE_HOST.os, Windows) {
diff --git a/Tools/qt/manifest.txt b/Tools/qt/manifest.txt
index 39414cc5f..364b7d464 100644
--- a/Tools/qt/manifest.txt
+++ b/Tools/qt/manifest.txt
@@ -157,3 +157,5 @@ file Tools/Scripts/webkitperl/FeatureList.pm
file Tools/jhbuild/jhbuildutils.py
file WebKit.pro
file .qmake.conf
+
+directory tests