##// END OF EJS Templates
Remove unnecessary Qt version checks...
Titta Heikkala -
r2730:5e795dcb8668
parent child
Show More
@@ -1,21 +1,18
1 1 !include( ../tests.pri ) {
2 2 error( "Couldn't find the test.pri file!" )
3 3 }
4 4
5 5 TEMPLATE = app
6 6
7 7 QT += charts
8 QT += core gui
9 contains(QT_MAJOR_VERSION, 5) {
10 QT += widgets
11 }
8 QT += core gui widgets
12 9
13 10 SOURCES += main.cpp \
14 11 mainwidget.cpp \
15 12 customtablemodel.cpp \
16 13 pentool.cpp
17 14
18 15 HEADERS += \
19 16 mainwidget.h \
20 17 customtablemodel.h \
21 18 pentool.h
@@ -1,18 +1,15
1 1 !include( ../tests.pri ) {
2 2 error( "Couldn't find the test.pri file!" )
3 3 }
4 4
5 5 TEMPLATE = app
6 6
7 QT += core gui opengl
8 contains(QT_MAJOR_VERSION, 5) {
9 QT += widgets
10 }
7 QT += core gui opengl widgets
11 8
12 9 SOURCES += main.cpp \
13 10 mainwidget.cpp \
14 11 dataseriedialog.cpp
15 12
16 13 HEADERS += \
17 14 mainwidget.h \
18 15 dataseriedialog.h
@@ -1,21 +1,19
1 1 !include( ../tests.pri ) {
2 2 error( "Couldn't find the test.pri file!" )
3 3 }
4 4
5 QT += core gui
6
7 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
5 QT += core gui widgets
8 6
9 7 TARGET = polarcharttest
10 8 TEMPLATE = app
11 9 INCLUDEPATH += .
12 10
13 11
14 12 SOURCES += main.cpp \
15 13 mainwindow.cpp \
16 14 chartview.cpp
17 15
18 16 HEADERS += mainwindow.h \
19 17 chartview.h
20 18
21 19 FORMS += mainwindow.ui
@@ -1,8 +1,8
1 1 !include( ../tests.pri ) {
2 2 error( "Couldn't find the examples.pri file!" )
3 3 }
4 4 TARGET = presenterchart
5 5 HEADERS += chartview.h
6 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