aboutsummaryrefslogtreecommitdiff
path: root/package/qt5/qt5declarative/Config.in
diff options
context:
space:
mode:
authorGravatar Fatih Aşıcı <fatih.asici@gmail.com>2014-07-19 20:33:25 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-21 21:58:43 +0200
commit984c834e682aeee8ddd6756f230b198063998986 (patch)
tree08bc20bdd2f851dc795008502efcc3c65ae66710 /package/qt5/qt5declarative/Config.in
parentc07552996f9a24becbc78a27e2e3c6efe6bd87e7 (diff)
downloadbuildroot-984c834e682aeee8ddd6756f230b198063998986.tar.gz
buildroot-984c834e682aeee8ddd6756f230b198063998986.tar.bz2
qt5declarative: add an option for quick module
With this change, qt5declarative can be built without OpenGL. Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/qt5/qt5declarative/Config.in')
-rw-r--r--package/qt5/qt5declarative/Config.in17
1 files changed, 11 insertions, 6 deletions
diff --git a/package/qt5/qt5declarative/Config.in b/package/qt5/qt5declarative/Config.in
index 4a6e805b81..edac8cd38d 100644
--- a/package/qt5/qt5declarative/Config.in
+++ b/package/qt5/qt5declarative/Config.in
@@ -3,9 +3,6 @@ config BR2_PACKAGE_QT5DECLARATIVE
select BR2_PACKAGE_QT5XMLPATTERNS
select BR2_PACKAGE_QT5BASE
select BR2_PACKAGE_QT5BASE_GUI
- select BR2_PACKAGE_QT5BASE_EGLFS
- depends on BR2_PACKAGE_HAS_LIBEGL
- depends on BR2_PACKAGE_HAS_LIBGLES
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
help
Qt is a cross-platform application and UI framework for
@@ -15,6 +12,14 @@ config BR2_PACKAGE_QT5DECLARATIVE
http://qt-project.org
-comment "qt5declarative requires an OpenGL-capable backend"
- depends on (!BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES) && \
- BR2_PACKAGE_QT5_JSCORE_AVAILABLE
+if BR2_PACKAGE_QT5DECLARATIVE
+
+comment "quick module needs an OpenGL-capable backend"
+ depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
+
+config BR2_PACKAGE_QT5DECLARATIVE_QUICK
+ bool "quick module"
+ select BR2_PACKAGE_QT5BASE_OPENGL
+ depends on BR2_PACKAGE_QT5_GL_AVAILABLE
+
+endif