summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/qt5/qt5base/Config.in10
-rw-r--r--package/qt5/qt5base/qt5base.mk3
2 files changed, 13 insertions, 0 deletions
diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in
index e433373489..83f17e35ea 100644
--- a/package/qt5/qt5base/Config.in
+++ b/package/qt5/qt5base/Config.in
@@ -185,4 +185,14 @@ config BR2_PACKAGE_QT5BASE_ICU
This option enables ICU support in Qt5. This is for example
needed for Qt5Webkit.
+config BR2_PACKAGE_QT5BASE_TSLIB
+ bool "Enable Tslib support"
+ depends on !BR2_PREFER_STATIC_LIB # dlopen
+ select BR2_PACKAGE_TSLIB
+ help
+ This options enables the Tslib plugin
+
+comment "tslib support needs a toolchain w/ dynamic library"
+ depends on BR2_PREFER_STATIC_LIB
+
endif
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index 0106c2cbcc..ce78d31256 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -128,6 +128,9 @@ QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_PNG),libpng)
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_DBUS),-dbus,-no-dbus)
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_DBUS),dbus)
+QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_TSLIB),-tslib,-no-tslib)
+QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_TSLIB),tslib)
+
QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_LIBGLIB2),-glib,-no-glib)
QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBGLIB2),libglib2)
OpenPOWER on IntegriCloud