Skip to content

Commit

Permalink
[libmlocale] Remove crazy extra build-time dependencies on QtSvg/QtDB…
Browse files Browse the repository at this point in the history
…us/etc.
  • Loading branch information
rburchell committed Apr 9, 2013
1 parent 3291c5f commit 3070d55
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion benchmarks/common_top.pri
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -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
;;
Expand Down
10 changes: 0 additions & 10 deletions src/common_top.pri
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/src.pro
Expand Up @@ -3,6 +3,7 @@ CONFIG += ordered
DEFINES += M_BUILD_MLOCALE

include(common_top.pri)
QT += xml

TARGET = mlocale

Expand Down
2 changes: 1 addition & 1 deletion tests/common_top.pri
Expand Up @@ -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
Expand Down

0 comments on commit 3070d55

Please sign in to comment.