From 1e5566c2e98098b0f7d7628f62425eec569f3a34 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Mon, 2 Dec 2019 11:03:13 +0100 Subject: [PATCH] Revert "Fix build with -no-feature-printer" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit de8bd9ec6b21e3b43b08c4c2588b5116a7ca8ece. We need to keep the empty printsupport library for ios at least. Fixes: QTBUG-79124 Task-number: QTBUG-80323 Change-Id: I543a76a897eec2c9bc51a3f2d080be3a9cc07871 Reviewed-by: Tor Arne Vestbø --- src/src.pro | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/src.pro b/src/src.pro index b704ccd7ab9..1c76a2e46f0 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,10 +1,8 @@ TEMPLATE = subdirs -QT_FOR_CONFIG += core-private gui-private printsupport - +QT_FOR_CONFIG += core-private gui-private include($$OUT_PWD/corelib/qtcore-config.pri) include($$OUT_PWD/gui/qtgui-config.pri) -include($$OUT_PWD/printsupport/qtprintsupport-config.pri) force_bootstrap|!qtConfig(commandlineparser): \ CONFIG += force_dbus_bootstrap @@ -223,13 +221,11 @@ qtConfig(gui) { src_testlib.depends += src_gui # if QtGui is enabled, QtTest requires QtGui's headers qtConfig(widgets) { SUBDIRS += src_tools_uic src_widgets + !android-embedded: SUBDIRS += src_printsupport TOOLS += src_tools_uic src_plugins.depends += src_widgets + !android-embedded: src_plugins.depends += src_printsupport src_testlib.depends += src_widgets # if QtWidgets is enabled, QtTest requires QtWidgets's headers - qtConfig(printer) { - SUBDIRS += src_printsupport - src_plugins.depends += src_printsupport - } qtConfig(opengl) { SUBDIRS += src_opengl src_plugins.depends += src_opengl