summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/configurejson2cmake.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index b3b0a9bc01..5e7036e614 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -886,6 +886,21 @@ def get_feature_mapping():
"profile": None,
"qmakeargs": None,
"qpa_default_platform": None, # Not a bool!
+ "qreal" : {
+ "condition": "DEFINED QT_COORD_TYPE AND NOT QT_COORD_TYPE STREQUAL \"double\"",
+ "output": [
+ {
+ "type": "define",
+ "name": "QT_COORD_TYPE",
+ "value": "${QT_COORD_TYPE}",
+ },
+ {
+ "type": "define",
+ "name": "QT_COORD_TYPE_STRING",
+ "value": "\\\"${QT_COORD_TYPE}\\\"",
+ },
+ ],
+ },
"release": None,
"release_tools": None,
"rpath": {