diff options
author | David PICARD <davepiq@yahoo.fr> | 2016-03-24 21:19:50 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-03-24 23:11:57 +0100 |
commit | ab9aa9b0622ee15960b1c451f221d50852a7752d (patch) | |
tree | a58a65a81cb46d5cf89f59e6c43d6ef3e136c863 /package/qwt/Config.in | |
parent | 358013d6999dd1446afb51f3f75ebc5f6009c6f8 (diff) |
package/qwt: prepare package to support other versions of Qt
Rework the selection of Qt options in the qwt package to make it
easier to support other versions of Qt than just Qt4. Instead of
depending on Qt options, we select the ones we need, and simply have a
global "depends on BR2_PACKAGE_QT". This also allows to remove a
comment that becomes useless.
Signed-off-by: David Picard <davepiq@yahoo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/qwt/Config.in')
-rw-r--r-- | package/qwt/Config.in | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/package/qwt/Config.in b/package/qwt/Config.in index 8c7bc561dc..876d465350 100644 --- a/package/qwt/Config.in +++ b/package/qwt/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_QWT bool "qwt" depends on BR2_PACKAGE_QT - depends on BR2_PACKAGE_QT_GUI_MODULE + select BR2_PACKAGE_QT_GUI_MODULE if BR2_PACKAGE_QT help Qwt is a graphics extension to the Qt GUI application framework. It provides a 2D plotting widget and more. @@ -12,7 +12,7 @@ if BR2_PACKAGE_QWT config BR2_PACKAGE_QWT_SVG bool "SVG support" - select BR2_PACKAGE_QT_SVG + select BR2_PACKAGE_QT_SVG if BR2_PACKAGE_QT config BR2_PACKAGE_QWT_MATHML bool "MathML support" @@ -21,10 +21,6 @@ config BR2_PACKAGE_QWT_OPENGL bool "OpenGL support" depends on BR2_PACKAGE_HAS_LIBGLES depends on BR2_PACKAGE_HAS_LIBEGL - select BR2_PACKAGE_QT_OPENGL_ES + select BR2_PACKAGE_QT_OPENGL_ES if BR2_PACKAGE_QT endif - -comment "qwt depends on QT gui module" - depends on BR2_PACKAGE_QT - depends on !BR2_PACKAGE_QT_GUI_MODULE |