From 8001073e47e0c0ce5bf68a802737e1aed6781e43 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 af6b6d9cc..dfae17d78 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) diff --git a/depends/patches/qt/mac-qmake.conf b/depends/patches/qt/mac-qmake.conf index a6d0070cc..6c7da425c 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)