summaryrefslogtreecommitdiff
path: root/package/qt
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2015-04-28 17:42:27 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-04-28 21:23:18 +0200
commite07ec136ee3dd4bf16b18571623ac57f99136faa (patch)
treebba50ffee179a2ab5cd70e625a20b0aff699cb72 /package/qt
parent2a15ce89ac5a46a161c2cf7d5ddb420ed95a4117 (diff)
qt: QT_COORD_TYPE_DOUBLE should only be set on soft float
If QT_COORD_TYPE_DOUBLE is forced and hard float is used, Qt compilation breaks because it can't find hard coded operations on double. Moreover, QT_COORD_TYPE is float only if QT_NO_FPU is set. (cf src/corelib/global/qglobal.h) So, we can safely make the QT_COORD_TYPE_DOUBLE option depend on BR2_SOFT_FLOAT. Reported-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/qt')
-rw-r--r--package/qt/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/qt/Config.in b/package/qt/Config.in
index 83fdeec81..9568b7010 100644
--- a/package/qt/Config.in
+++ b/package/qt/Config.in
@@ -121,6 +121,7 @@ config BR2_PACKAGE_QT_CONFIG_FILE
file, which Buildroot will give to Qt at compile time.
config BR2_PACKAGE_QT_QT_COORD_TYPE_DOUBLE
+ depends on BR2_SOFT_FLOAT
bool "QT_COORD_TYPE to double"
help
Set QT_COORD_TYPE to double. On ARM-based platforms, qreal