From 57af7f2166fde4c5fe0b9fe6e28e518155daa79e Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Mon, 17 Feb 2020 22:07:54 +0300 Subject: [PATCH] Make libmd4c a private dependency of Qt GUI Otherwise, when Qt is built with system libmd4c, all applications using Qt GUI have to link with it, even if they do not use it. Change-Id: I662dfd4caf29bb692b62c20cef0e99148a87a99a Reviewed-by: Konstantin Ritt Reviewed-by: Shawn Rutledge --- src/gui/text/text.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/text/text.pri b/src/gui/text/text.pri index 5e97b312f1..464ff3953b 100644 --- a/src/gui/text/text.pri +++ b/src/gui/text/text.pri @@ -99,7 +99,7 @@ qtConfig(textodfwriter) { qtConfig(textmarkdownreader) { qtConfig(system-textmarkdownreader) { - QMAKE_USE += libmd4c + QMAKE_USE_PRIVATE += libmd4c } else { include($$PWD/../../3rdparty/md4c.pri) }