Skip to content

Commit 35704eb

Browse files
committed
Merge pull request nemomobile#23 from thp/cleanups-2015-01-09
Remove Qt 4 support and other clean-ups
2 parents b122666 + 3b16101 commit 35704eb

30 files changed

+12
-6728
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ Makefile
66
.moc
77
.obj
88
mnotificationmanagerproxy.*
9+
tools/mlitenotificationtool/mlitenotificationtool

build/.gitignore

-1
This file was deleted.

common.pri

+3-10
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ defineTest(configure) {
2020
QMAKE_EXTRA_TARGETS += $${target}
2121

2222
equals(TEMPLATE, subdirs) {
23-
equals(QT_MAJOR_VERSION, 4): first = make_default
24-
equals(QT_MAJOR_VERSION, 5): first = make_first
23+
first = make_first
2524
} else {
2625
first = all
2726
}
@@ -38,15 +37,9 @@ defineTest(configure) {
3837
export(QMAKE_EXTRA_TARGETS)
3938
}
4039

41-
# Use the following variables to differentiate build against Qt 4.x vs Qt 5.x
42-
# Example:
43-
# TARGET = foo$${DASH_QT_VERSION}
44-
# LIBS += -lbar$${DASH_QT_VERSION}
45-
equals(QT_MAJOR_VERSION, 4): DASH_QT_VERSION = ""
46-
equals(QT_MAJOR_VERSION, 5): DASH_QT_VERSION = "-qt5"
40+
DASH_QT_VERSION = "-qt5"
4741
CONFIG_SUBST += DASH_QT_VERSION
48-
equals(QT_MAJOR_VERSION, 4): NODASH_QT_VERSION = ""
49-
equals(QT_MAJOR_VERSION, 5): NODASH_QT_VERSION = "5"
42+
NODASH_QT_VERSION = "5"
5043
CONFIG_SUBST += NODASH_QT_VERSION
5144

5245
}

coverage.pri

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ COVERAGE_EXCLUDES = \
44
*/*.moc \
55
*/qrc_*.cpp \
66
/build/* \
7-
/json/* \
87
/tests/* \
98
mnotificationmanagerproxy.h \
109
mnotificationmanagerproxy.cpp \

json/json.pri

-26
This file was deleted.

0 commit comments

Comments
 (0)