From: Modestas Vainius Subject: [PATCH] Reduce excess linkage Do not link to unnecessary libraries. Signed-off-by: Modestas Vainius --- qtbindings/qtbindingsbase.pri | 2 ++ qtbindings/qtscript_core/qtscript_core.pro | 2 ++ qtbindings/qtscript_uitools/qtscript_uitools.pro | 2 ++ .../qtscript_xmlpatterns/qtscript_xmlpatterns.pro | 2 ++ 4 files changed, 8 insertions(+), 0 deletions(-) --- qtbindings/qtscript_core/qtscript_core.pro +++ qtbindings/qtscript_core/qtscript_core.pro @@ -1,4 +1,6 @@ TARGET = qtscript_core include(../qtbindingsbase.pri) +qt:load(qt) +LIBS -= -lQtGui SOURCES += $$GENERATEDCPP/com_trolltech_qt_core/plugin.cpp include($$GENERATEDCPP/com_trolltech_qt_core/com_trolltech_qt_core.pri) --- qtbindings/qtscript_uitools/qtscript_uitools.pro +++ qtbindings/qtscript_uitools/qtscript_uitools.pro @@ -1,5 +1,7 @@ TARGET = qtscript_uitools include(../qtbindingsbase.pri) CONFIG += uitools +QT -= xml +qt:load(qt) SOURCES += $$GENERATEDCPP/com_trolltech_qt_uitools/plugin.cpp include($$GENERATEDCPP/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri) --- qtbindings/qtscript_xmlpatterns/qtscript_xmlpatterns.pro +++ qtbindings/qtscript_xmlpatterns/qtscript_xmlpatterns.pro @@ -2,5 +2,7 @@ TARGET = qtscript_xmlpatterns include(../qtbindingsbase.pri) QT -= gui QT += xmlpatterns network +qt:load(qt) +LIBS -= -lQtNetwork SOURCES += $$GENERATEDCPP/com_trolltech_qt_xmlpatterns/plugin.cpp include($$GENERATEDCPP/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri)