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