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
# 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