aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2017-01-17 22:37:40 -0500
committerfanquake <fanquake@gmail.com>2017-01-19 15:31:55 +0800
commitc36ec715f06d212381e0edfa4344514f1a575701 (patch)
tree14517fb7295e19a5c8274daa27f4ad7b811f9a14 /depends
parent6012967c4746095e6f66a142cb9f639544c17377 (diff)
depends: qt: disable printer for all platforms, not just osx
This also fixes the native osx build.
Diffstat (limited to 'depends')
-rw-r--r--depends/packages/qt.mk2
-rw-r--r--depends/patches/qt/mac-qmake.conf1
2 files changed, 2 insertions, 1 deletions
diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk
index 383ef2dae6..6e38d1ac6a 100644
--- a/depends/packages/qt.mk
+++ b/depends/packages/qt.mk
@@ -78,6 +78,8 @@ $(package)_config_opts += -reduce-exports
$(package)_config_opts += -static
$(package)_config_opts += -silent
$(package)_config_opts += -v
+$(package)_config_opts += -no-feature-printer
+$(package)_config_opts += -no-feature-printdialog
ifneq ($(build_os),darwin)
$(package)_config_opts_darwin = -xplatform macx-clang-linux
diff --git a/depends/patches/qt/mac-qmake.conf b/depends/patches/qt/mac-qmake.conf
index 402e0555b0..f565fe3e75 100644
--- a/depends/patches/qt/mac-qmake.conf
+++ b/depends/patches/qt/mac-qmake.conf
@@ -1,6 +1,5 @@
MAKEFILE_GENERATOR = UNIX
CONFIG += app_bundle incremental global_init_link_order lib_version_first plugin_no_soname absolute_library_soname
-DEFINES += QT_NO_PRINTER QT_NO_PRINTDIALOG
QMAKE_INCREMENTAL_STYLE = sublib
include(../common/macx.conf)
include(../common/gcc-base-mac.conf)