Update version checks in tests/manual

Remove unnecessary version in tests/manual since they are always true in
the CMake port where it's impossible to have a QtVersion less than 6.0.

Change-Id: I26a13117a8c2e032a9cc70ca0f040122cbf79886
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Leander Beernaert 2019-11-11 11:39:02 +01:00
parent 36fcfd962d
commit 15b78b3b54
17 changed files with 18 additions and 54 deletions

View File

@ -4,9 +4,7 @@
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += core gui widgets
TARGET = Menurama
TEMPLATE = app

View File

@ -17,20 +17,8 @@ win32:!winrt: {
SOURCES += $$PWD/nativewindowdump.cpp
}
greaterThan(QT_MAJOR_VERSION, 4) {
QT += gui-private core-private
contains(QT, widgets) {
HEADERS += \
$$PWD/qwidgetdump.h \
$$PWD/debugproxystyle.h \
$$PWD/logwidget.h
SOURCES += \
$$PWD/qwidgetdump.cpp \
$$PWD/debugproxystyle.cpp \
$$PWD/logwidget.cpp
}
} else {
QT += gui-private core-private
contains(QT, widgets) {
HEADERS += \
$$PWD/qwidgetdump.h \
$$PWD/debugproxystyle.h \

View File

@ -1,9 +1,5 @@
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets
qtHaveModule(printsupport): QT += printsupport
}
QT += core gui widgets
qtHaveModule(printsupport): QT += printsupport
TARGET = dialogs
TEMPLATE = app

View File

@ -67,8 +67,4 @@ qtConfig(opengl) {
win32: SUBDIRS -= network_remote_stresstest network_stresstest
lessThan(QT_MAJOR_VERSION, 5): SUBDIRS -= bearerex lance qnetworkaccessmanager/qget qmimedatabase qnetworkreply \
qpainfo qscreen socketengine xembed-raster xembed-widgets windowtransparency \
embeddedintoforeignwindow foreignwindows
qtConfig(vulkan): SUBDIRS += qvulkaninstance

View File

@ -1,6 +1,5 @@
TEMPLATE = app
QT = core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += gui-private core-private widgets
QT = core gui gui-private core-private widgets
CONFIG -= app_bundle
SOURCES += main.cpp
win32: LIBS += -lUser32

View File

@ -1,6 +1,6 @@
#This project can be used to verify QTBUG-5111 case.
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += widgets
TARGET = qtexteditlist
TEMPLATE = app
SOURCES += main.cpp widget.cpp

View File

@ -1,7 +1,6 @@
#This project can be used to verify QTBUG-36152 case.
QT += core gui printsupport
QT += core gui printsupport widgets
CONFIG += c++11
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = qtexttableborders
TEMPLATE = app
SOURCES += main.cpp widget.cpp

View File

@ -1,5 +1,4 @@
QT += testlib
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += testlib widgets
SOURCES = main.cpp \
touchwidget.cpp
FORMS += form.ui

View File

@ -1,5 +1,4 @@
TEMPLATE = app
QT = core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT = core gui widgets
CONFIG -= app_bundle
SOURCES += main.cpp

View File

@ -1,5 +1,4 @@
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += core gui widgets
TEMPLATE = app

View File

@ -1,9 +1,5 @@
QT += core gui
QT += core gui widgets
TARGET = widgetgrab
TEMPLATE = app
SOURCES += main.cpp
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets
}

View File

@ -1,3 +1,2 @@
TEMPLATE = subdirs
SUBDIRS = itemviews qgraphicsview kernel widgets
greaterThan(QT_MAJOR_VERSION, 4): SUBDIRS += styles
SUBDIRS = itemviews qgraphicsview kernel widgets styles

View File

@ -4,9 +4,7 @@
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += core gui widgets
TARGET = BigMenuCreator
TEMPLATE = app

View File

@ -1,5 +1,4 @@
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += core gui widgets
TARGET = windowchildgeometry
TEMPLATE = app

View File

@ -9,4 +9,4 @@ SOURCES = controllerwindow.cpp \
main.cpp \
controls.cpp
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += widgets

View File

@ -1,5 +1,4 @@
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += core gui widgets
TARGET = windowgeometry
TEMPLATE = app

View File

@ -1,3 +1,3 @@
SOURCES = main.cpp
FORMS = widget.ui dialog.ui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
QT += widgets printsupport