aboutsummaryrefslogtreecommitdiff
path: root/package/qt5/qt5declarative/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/qt5/qt5declarative/Config.in')
-rw-r--r--package/qt5/qt5declarative/Config.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/package/qt5/qt5declarative/Config.in b/package/qt5/qt5declarative/Config.in
index c9a673658a..a1fb9a3102 100644
--- a/package/qt5/qt5declarative/Config.in
+++ b/package/qt5/qt5declarative/Config.in
@@ -1,13 +1,20 @@
+config BR2_PACKAGE_QT5DECLARATIVE_AVAILABLE
+ bool
+ # Javascript engine is only available on certain architectures
+ depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel
+ # ARM needs BLX, so v5t+
+ depends on !(BR2_arm7tdmi || BR2_arm720t || BR2_arm920t || BR2_arm922t || BR2_fa526)
+ default y
+
config BR2_PACKAGE_QT5DECLARATIVE
bool "qt5declarative"
select BR2_PACKAGE_QT5XMLPATTERNS
- select BR2_PACKAGE_QT5JSBACKEND
select BR2_PACKAGE_QT5BASE
select BR2_PACKAGE_QT5BASE_GUI
select BR2_PACKAGE_QT5BASE_EGLFS
depends on BR2_PACKAGE_HAS_OPENGL_EGL
depends on BR2_PACKAGE_HAS_OPENGL_ES
- depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
+ depends on BR2_PACKAGE_QT5DECLARATIVE_AVAILABLE
help
Qt is a cross-platform application and UI framework for
developers using C++.
@@ -18,4 +25,4 @@ config BR2_PACKAGE_QT5DECLARATIVE
comment "qt5declarative requires an OpenGL-capable backend"
depends on (!BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES) && \
- BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
+ BR2_PACKAGE_QT5DECLARATIVE_AVAILABLE