summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetri Virkkunen <[email protected]>2025-08-04 11:00:12 +0300
committerQt Cherry-pick Bot <[email protected]>2025-08-18 00:43:15 +0000
commit522ca0c729239b5ebc51fbfaf9af42373abfda5a (patch)
tree938e177541d413bf54724dd9088b254c1e06ad30
parentb517f50e7a6c6788ece04f279de99a08f123d26b (diff)
QQ4A: ADQT: Expect "real" QML type instead of "qreal" from qmldom6.9
Though "qreal" is supported by qmldom and doesn't seem to create errors, it's actually not even documented as a QML type. Pick-to: 6.8 Task-number: QTBUG-137112 Change-Id: Ib3541123b03ce6a79b7d0097cf8f3a69def6db3d Reviewed-by: Assam Boudjelthia <[email protected]> (cherry picked from commit bfa485e94d95dd280cf3f0d2b72bc4e72e85dffc) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit e9244494cc0728606b1b0b23ce1737007d3f2a1b)
-rw-r--r--src/tools/androiddeployqt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/androiddeployqt/main.cpp b/src/tools/androiddeployqt/main.cpp
index 0201c2c8646..03c04b5aa26 100644
--- a/src/tools/androiddeployqt/main.cpp
+++ b/src/tools/androiddeployqt/main.cpp
@@ -3707,7 +3707,7 @@ int generateJavaQmlComponents(const Options &options)
};
const static QHash<QString, QString> qmlToJavaType = {
- { "qreal"_L1, "Double"_L1 }, { "double"_L1, "Double"_L1 }, { "int"_L1, "Integer"_L1 },
+ { "real"_L1, "Double"_L1 }, { "double"_L1, "Double"_L1 }, { "int"_L1, "Integer"_L1 },
{ "float"_L1, "Float"_L1 }, { "bool"_L1, "Boolean"_L1 }, { "string"_L1, "String"_L1 },
{ "void"_L1, "Void"_L1 }
};