|
@@ -152,6 +152,11 @@ define PYTHON_PYQT5_GENERATE_QTDETAIL
|
|
)
|
|
)
|
|
endef
|
|
endef
|
|
|
|
|
|
|
|
+# The file "qt.conf" can be used to override the hard-coded paths that are
|
|
|
|
+# compiled into the Qt library. We need it to make "qmake" relocatable and
|
|
|
|
+# tweak the per-package install pathes
|
|
|
|
+PYTHON_PYQT5_PRE_CONFIGURE_HOOKS += QT5_QT_CONF_FIXUP
|
|
|
|
+
|
|
PYTHON_PYQT5_CONF_OPTS = \
|
|
PYTHON_PYQT5_CONF_OPTS = \
|
|
--bindir $(TARGET_DIR)/usr/bin \
|
|
--bindir $(TARGET_DIR)/usr/bin \
|
|
--destdir $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT5_PYTHON_DIR)/site-packages \
|
|
--destdir $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT5_PYTHON_DIR)/site-packages \
|