summaryrefslogtreecommitdiff
path: root/package/python-pyqt5
diff options
context:
space:
mode:
authorNaumann Andreas <ANaumann@ultratronik.de>2017-01-31 08:59:10 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-07 17:46:48 +0100
commite68fdc20546bf34f937226c9beb6a29deac1d317 (patch)
tree842b9220ded90b2bc9f1421f5016f59e447f8e2c /package/python-pyqt5
parentb80efa327a98aa9e5f821ac55d459c01400b151a (diff)
python-pyqt5: use 'depends on' rather than 'select' for Qt5
When pyqt5 is used it's obvious that qt5 needs to be selected and configured by the user, hence we enforce it by making pyqt5 depending on qt5, rather than selecting it and depending only on the qt5 requirements. Signed-off-by: Andreas Naumann <anaumann@ultratronik.de> Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-pyqt5')
-rw-r--r--package/python-pyqt5/Config.in13
1 files changed, 3 insertions, 10 deletions
diff --git a/package/python-pyqt5/Config.in b/package/python-pyqt5/Config.in
index 4eca68a3b..20ac98870 100644
--- a/package/python-pyqt5/Config.in
+++ b/package/python-pyqt5/Config.in
@@ -1,16 +1,9 @@
-comment "python-pyqt5 needs a toolchain w/ wchar, NPTL, C++, dynamic library"
- depends on !BR2_PACKAGE_QT
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
- !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
+comment "python-pyqt5 needs Qt5"
+ depends on !BR2_PACKAGE_QT5
config BR2_PACKAGE_PYTHON_PYQT5
bool "python-pyqt5"
- depends on BR2_INSTALL_LIBSTDCPP
- depends on BR2_USE_WCHAR # qt5
- depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # qt5
- depends on !BR2_STATIC_LIBS # qt5
- depends on !BR2_PACKAGE_QT # qt5
- select BR2_PACKAGE_QT5
+ depends on BR2_PACKAGE_QT5
select BR2_PACKAGE_PYTHON_SIP
help
Python bindings for Qt 5