summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/poppler/Config.in12
-rw-r--r--package/poppler/poppler.mk7
2 files changed, 19 insertions, 0 deletions
diff --git a/package/poppler/Config.in b/package/poppler/Config.in
index fce296de4d..5166e15c10 100644
--- a/package/poppler/Config.in
+++ b/package/poppler/Config.in
@@ -10,5 +10,17 @@ config BR2_PACKAGE_POPPLER
http://poppler.freedesktop.org/
+if BR2_PACKAGE_POPPLER
+
+config BR2_PACKAGE_POPPLER_QT
+ bool "Qt support"
+ depends on BR2_PACKAGE_QT
+ select BR2_PACKAGE_QT_GUI
+ select BR2_PACKAGE_QT_XML
+ help
+ Build Qt support into the Poppler library
+
+endif
+
comment "poppler needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
index e4fee3f87a..a52b0799ca 100644
--- a/package/poppler/poppler.mk
+++ b/package/poppler/poppler.mk
@@ -61,4 +61,11 @@ else
POPPLER_CONF_OPTS += --without-x
endif
+ifeq ($(BR2_PACKAGE_POPPLER_QT),y)
+ POPPLER_DEPENDENCIES += qt
+ POPPLER_CONF_OPTS += --enable-poppler-qt4
+else
+ POPPLER_CONF_OPTS += --disable-poppler-qt4
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud