From c36ec715f06d212381e0edfa4344514f1a575701 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Tue, 17 Jan 2017 22:37:40 -0500 Subject: [PATCH] depends: qt: disable printer for all platforms, not just osx This also fixes the native osx build. --- depends/packages/qt.mk | 2 ++ depends/patches/qt/mac-qmake.conf | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk index 383ef2dae..6e38d1ac6 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 402e0555b..f565fe3e7 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)