2012-06-02 08:14:00 +02:00
|
|
|
config BR2_PACKAGE_QWT
|
|
|
|
bool "qwt"
|
package: prepare to support modules that work with Qt or Qt5
Currently, all the Qt external modules (qtuio, qjson, etc.) can only
be compiled against Qt4. However, some of them (qjson, qextserialport
at least) can compile with either Qt4 or Qt5.
Therefore, this commit adjusts the Config.in logic to make it possible
for certain modules to be selected with either Qt4 or Qt5. We use the
same approach as the one of for Python 2 vs. Python 3 modules:
- in package/Config.in, the package Config.in files are included
either if BR2_PACKAGE_QT or BR2_PACKAGE_QT5 are enabled.
- each individual package is then responsible for having a dependency
on either BR2_PACKAGE_QT, or BR2_PACKAGE_QT5 or both depending on
what they support. In this commit, we add a dependency on
BR2_PACKAGE_QT to all packages, since for now, they only support
Qt4.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-01 23:15:08 +01:00
|
|
|
depends on BR2_PACKAGE_QT
|
2012-06-02 08:14:00 +02:00
|
|
|
depends on BR2_PACKAGE_QT_GUI_MODULE
|
|
|
|
help
|
|
|
|
Qwt is a graphics extension to the Qt GUI application
|
|
|
|
framework. It provides a 2D plotting widget and more.
|
|
|
|
|
2013-01-28 06:35:11 +01:00
|
|
|
http://qwt.sourceforge.net/
|
2012-06-02 08:14:00 +02:00
|
|
|
|
|
|
|
if BR2_PACKAGE_QWT
|
|
|
|
|
|
|
|
config BR2_PACKAGE_QWT_SVG
|
|
|
|
bool "SVG support"
|
|
|
|
select BR2_PACKAGE_QT_SVG
|
|
|
|
|
|
|
|
config BR2_PACKAGE_QWT_MATHML
|
|
|
|
bool "MathML support"
|
|
|
|
|
2014-09-15 13:29:02 +02:00
|
|
|
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
|
|
|
|
|
2012-06-02 08:14:00 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
comment "qwt depends on QT gui module"
|
package: prepare to support modules that work with Qt or Qt5
Currently, all the Qt external modules (qtuio, qjson, etc.) can only
be compiled against Qt4. However, some of them (qjson, qextserialport
at least) can compile with either Qt4 or Qt5.
Therefore, this commit adjusts the Config.in logic to make it possible
for certain modules to be selected with either Qt4 or Qt5. We use the
same approach as the one of for Python 2 vs. Python 3 modules:
- in package/Config.in, the package Config.in files are included
either if BR2_PACKAGE_QT or BR2_PACKAGE_QT5 are enabled.
- each individual package is then responsible for having a dependency
on either BR2_PACKAGE_QT, or BR2_PACKAGE_QT5 or both depending on
what they support. In this commit, we add a dependency on
BR2_PACKAGE_QT to all packages, since for now, they only support
Qt4.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-01 23:15:08 +01:00
|
|
|
depends on BR2_PACKAGE_QT
|
2012-06-02 08:14:00 +02:00
|
|
|
depends on !BR2_PACKAGE_QT_GUI_MODULE
|