summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2019-07-22 10:20:50 +0200
committerLeander Beernaert <leander.beernaert@qt.io>2019-07-22 08:34:54 +0000
commitff5a75a60e5886e52b262f20750bd769ec5d88ac (patch)
treeb46f9d1fc2b739937426317adba77a86edb3033d /util
parentfecefdd36978cf2562f0f16f5f79debff7d07f79 (diff)
Process private libraries set in QT_PRIVATE
The pro2cmake conversion was not processing private libraries specified with the QT_PRIVATE variable. Change-Id: I0c44595bb8e1ed9a748af51a2a859bee62e7d264 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/pro2cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index 5003faa370..35a0bba2cc 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -1076,7 +1076,7 @@ def extract_cmake_libraries(scope: Scope, *, known_libraries: typing.Set[str]=se
for key in ['QMAKE_USE_PRIVATE', 'QMAKE_USE_FOR_PRIVATE', 'LIBS_PRIVATE',]:
private_dependencies += scope.expand(key)
- for key in ['QT_FOR_PRIVATE',]:
+ for key in ['QT_FOR_PRIVATE','QT_PRIVATE']:
private_dependencies += [map_qt_library(q) for q in scope.expand(key)]
for key in ['QT',]: