diff --git a/tests/boxplottester/boxplottester.pro b/tests/boxplottester/boxplottester.pro index 575ae45..2568adc 100644 --- a/tests/boxplottester/boxplottester.pro +++ b/tests/boxplottester/boxplottester.pro @@ -5,10 +5,7 @@ TEMPLATE = app QT += charts -QT += core gui -contains(QT_MAJOR_VERSION, 5) { - QT += widgets -} +QT += core gui widgets SOURCES += main.cpp \ mainwidget.cpp \ diff --git a/tests/chartwidgettest/chartwidgettest.pro b/tests/chartwidgettest/chartwidgettest.pro index 97845ff..db8416b 100644 --- a/tests/chartwidgettest/chartwidgettest.pro +++ b/tests/chartwidgettest/chartwidgettest.pro @@ -4,10 +4,7 @@ TEMPLATE = app -QT += core gui opengl -contains(QT_MAJOR_VERSION, 5) { - QT += widgets -} +QT += core gui opengl widgets SOURCES += main.cpp \ mainwidget.cpp \ diff --git a/tests/polarcharttest/polarcharttest.pro b/tests/polarcharttest/polarcharttest.pro index 9646fbd..0c892c8 100644 --- a/tests/polarcharttest/polarcharttest.pro +++ b/tests/polarcharttest/polarcharttest.pro @@ -2,9 +2,7 @@ error( "Couldn't find the test.pri file!" ) } -QT += core gui - -greaterThan(QT_MAJOR_VERSION, 4): QT += widgets +QT += core gui widgets TARGET = polarcharttest TEMPLATE = app diff --git a/tests/presenterchart/presenterchart.pro b/tests/presenterchart/presenterchart.pro index 88cde7a..bd3367d 100644 --- a/tests/presenterchart/presenterchart.pro +++ b/tests/presenterchart/presenterchart.pro @@ -5,4 +5,4 @@ TARGET = presenterchart HEADERS += chartview.h SOURCES += main.cpp chartview.cpp -greaterThan(QT_MAJOR_VERSION, 4): QT += widgets +QT += widgets