summaryrefslogtreecommitdiffstats
path: root/util/cmake/pro2cmake.py
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2020-04-15 13:57:13 +0200
committerLeander Beernaert <leander.beernaert@qt.io>2020-04-15 14:15:52 +0000
commit812cc76b026108e208bfc8d20fe1daa8168a00eb (patch)
tree41d87dfe26134e0ff0e1a7661432c34ca21575a0 /util/cmake/pro2cmake.py
parentbb0a6162608fe932f8534bbe65594c6bf894867a (diff)
CMake: Update pro2cmake and friend to convert QtVirtualkeyboard
Expand $$MODULE_BASE_DIR to ${QT_BUILD_DIR}. Add library mappings for Hunspell. Add test mappings for QtVirtualKeyboard regarding 3rdparty Hunspell and T9Write. Change-Id: Ief007456d0471cbcf9a03d819291edec5f63680f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake/pro2cmake.py')
-rwxr-xr-xutil/cmake/pro2cmake.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index bbfa65300c..9e183a4b13 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -1613,6 +1613,7 @@ def map_condition(condition: str) -> str:
and not feature_name.startswith("system_assimp")
and not feature_name.startswith("system_doubleconversion")
and not feature_name.startswith("system_sqlite")
+ and not feature_name.startswith("system_hunspell")
):
part = "ON"
elif feature == "dlopen":
@@ -1633,6 +1634,7 @@ _path_replacements = {
"$$[QT_INSTALL_EXAMPLES]": "${INSTALL_EXAMPLESDIR}",
"$$[QT_INSTALL_TESTS]": "${INSTALL_TESTSDIR}",
"$$OUT_PWD": "${CMAKE_CURRENT_BINARY_DIR}",
+ "$$MODULE_BASE_OUTDIR": "${QT_BUILD_DIR}",
}