diff --git a/benchmarks/common_top.pri b/benchmarks/common_top.pri index c372a7285..aaf69f0b2 100644 --- a/benchmarks/common_top.pri +++ b/benchmarks/common_top.pri @@ -12,7 +12,7 @@ INCLUDEPATH += \ DEPENDPATH = $$INCLUDEPATH QMAKE_LIBDIR += ../../lib CONFIG += debug -QT += testlib dbus svg +QT += testlib TEMPLATE = app # DEFINES += QT_NO_DEBUG_OUTPUT DEFINES += UNIT_TEST diff --git a/configure b/configure index 8e7d08342..220de1305 100755 --- a/configure +++ b/configure @@ -111,7 +111,7 @@ while [ "$#" -gt 0 ]; do VAL=no ;; #Qt style yes options - -h|-help|-v|-verbose|-debug|-release|-testable|-coverage|-timestamps|-dev|-minimal|-dbus|-icu|-gconf|-meegographicssystem|-shortcuts) + -h|-help|-v|-verbose|-debug|-release|-testable|-coverage|-timestamps|-dev|-minimal|-icu|-gconf|-meegographicssystem|-shortcuts) VAR=`echo $1 | sed "s,^-\(.*\),\1,"` VAL=yes ;; diff --git a/src/common_top.pri b/src/common_top.pri index 2a894f161..5d2c384f4 100644 --- a/src/common_top.pri +++ b/src/common_top.pri @@ -60,20 +60,10 @@ contains(M_BUILD_FEATURES, testable) { ## Dependencies - contains(DEFINES, HAVE_ICU) { LIBS += -licui18n -licuuc -licudata } -QT += \ - svg \ - network \ - core \ - gui \ - xml - -!simulator: QT += opengl - QMAKE_EXTRA_TARGETS += check check.depends = $$DESTDIR/lib$${TARGET}.so.$$VERSION check.commands = $$system(true) diff --git a/src/src.pro b/src/src.pro index 0fa25a555..cbfbad20f 100644 --- a/src/src.pro +++ b/src/src.pro @@ -3,6 +3,7 @@ CONFIG += ordered DEFINES += M_BUILD_MLOCALE include(common_top.pri) +QT += xml TARGET = mlocale diff --git a/tests/common_top.pri b/tests/common_top.pri index 1b8d63aa5..ca8ff3634 100644 --- a/tests/common_top.pri +++ b/tests/common_top.pri @@ -15,7 +15,7 @@ DEPENDPATH = $$INCLUDEPATH QMAKE_LIBDIR += ../../lib /usr/local/lib CONFIG += debug CONFIG -= app_bundle -QT += testlib dbus svg network +QT += testlib TEMPLATE = app # DEFINES += QT_NO_DEBUG_OUTPUT DEFINES += UNIT_TEST