diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-11-01 23:15:08 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-11-03 23:05:42 +0100 |
commit | 699d1e75cfa1597a030d89abdf9376d2df2c3d6e (patch) | |
tree | e290fa33248984deefd22301848ee2b5b094becf /package/grantlee | |
parent | 1e5b076fe3683bd83993497383a7a8bce872266f (diff) | |
download | buildroot-699d1e75cfa1597a030d89abdf9376d2df2c3d6e.tar.gz buildroot-699d1e75cfa1597a030d89abdf9376d2df2c3d6e.zip |
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>
Diffstat (limited to 'package/grantlee')
-rw-r--r-- | package/grantlee/Config.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/grantlee/Config.in b/package/grantlee/Config.in index 09ec70c018..ce1342c1e8 100644 --- a/package/grantlee/Config.in +++ b/package/grantlee/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_GRANTLEE bool "grantlee" depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT + depends on BR2_PACKAGE_QT select BR2_PACKAGE_QT_STL select BR2_PACKAGE_QT_SCRIPT select BR2_PACKAGE_QT_GUI_MODULE |