Commit 3070d55a authored by Robin Burchell's avatar Robin Burchell

[libmlocale] Remove crazy extra build-time dependencies on QtSvg/QtDBus/etc.

parent 3291c5f1
......@@ -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
......
......@@ -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
;;
......
......@@ -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)
......
......@@ -3,6 +3,7 @@ CONFIG += ordered
DEFINES += M_BUILD_MLOCALE
include(common_top.pri)
QT += xml
TARGET = mlocale
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment