##// END OF EJS Templates
Remove unnecessary Qt version checks...
Titta Heikkala -
r2730:5e795dcb8668
parent child
Show More
@@ -5,10 +5,7
5 TEMPLATE = app
5 TEMPLATE = app
6
6
7 QT += charts
7 QT += charts
8 QT += core gui
8 QT += core gui widgets
9 contains(QT_MAJOR_VERSION, 5) {
10 QT += widgets
11 }
12
9
13 SOURCES += main.cpp \
10 SOURCES += main.cpp \
14 mainwidget.cpp \
11 mainwidget.cpp \
@@ -4,10 +4,7
4
4
5 TEMPLATE = app
5 TEMPLATE = app
6
6
7 QT += core gui opengl
7 QT += core gui opengl widgets
8 contains(QT_MAJOR_VERSION, 5) {
9 QT += widgets
10 }
11
8
12 SOURCES += main.cpp \
9 SOURCES += main.cpp \
13 mainwidget.cpp \
10 mainwidget.cpp \
@@ -2,9 +2,7
2 error( "Couldn't find the test.pri file!" )
2 error( "Couldn't find the test.pri file!" )
3 }
3 }
4
4
5 QT += core gui
5 QT += core gui widgets
6
7 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
8
6
9 TARGET = polarcharttest
7 TARGET = polarcharttest
10 TEMPLATE = app
8 TEMPLATE = app
@@ -5,4 +5,4 TARGET = presenterchart
5 HEADERS += chartview.h
5 HEADERS += chartview.h
6 SOURCES += main.cpp chartview.cpp
6 SOURCES += main.cpp chartview.cpp
7
7
8 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
8 QT += widgets
General Comments 0
You need to be logged in to leave comments. Login now