Commit e07ec136 authored by Richard Genoud's avatar Richard Genoud Committed by Peter Korsgaard
Browse files

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: default avatarPeter Korsgaard <peter@korsgaard.com>
Signed-off-by: default avatarRichard Genoud <richard.genoud@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 2a15ce89
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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