Loading
+10 −0
Original line number Diff line number Diff line
@@ -13,3 +13,13 @@ config BR2_PACKAGE_PYTHON_PYQT
	  PyQt4 for Qt Embedded 4 bindings.

	  http://www.riverbankcomputing.com/software/pyqt/

if BR2_PACKAGE_PYTHON_PYQT

config BR2_PACKAGE_PYTHON_PYQT_ARCH_USES_QREAL_FLOAT
	bool
	default y if BR2_arm || BR2_armeb
	default y if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb
	default y if (BR2_mipsel || BR2_mips) && BR2_PACKAGE_QT_EMBEDDED

endif
+7 −1
Original line number Diff line number Diff line
@@ -33,13 +33,19 @@ endif
# Turn off features that aren't available in QWS and current qt
# configuration.
PYTHON_PYQT_QTDETAIL_DISABLE_FEATURES = \
	PyQt_Accessibility PyQt_SessionManager PyQt_qreal_double \
	PyQt_Accessibility PyQt_SessionManager \
	PyQt_Shortcut PyQt_RawFont

ifeq ($(BR2_PACKAGE_QT_OPENSSL),)
PYTHON_PYQT_QTDETAIL_DISABLE_FEATURES += PyQt_OpenSSL
endif

# PyQt_qreal_double must be disabled on a number of architectures that
# use float for qreal.
ifeq ($(BR2_PACKAGE_PYTHON_PYQT_ARCH_USES_QREAL_FLOAT),y)
PYTHON_PYQT_QTDETAIL_DISABLE_FEATURES += PyQt_qreal_double
endif

define PYTHON_PYQT_QTDETAIL
	echo $(1) >> $(2)/qtdetail.out
endef