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:
parent
36fcfd962d
commit
15b78b3b54
@ -4,9 +4,7 @@
|
||||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += core gui
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
QT += core gui widgets
|
||||
|
||||
TARGET = Menurama
|
||||
TEMPLATE = app
|
||||
|
@ -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 \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,4 @@
|
||||
QT += testlib
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
QT += testlib widgets
|
||||
SOURCES = main.cpp \
|
||||
touchwidget.cpp
|
||||
FORMS += form.ui
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,4 @@
|
||||
QT += core gui
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
QT += core gui widgets
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -1,3 +1,2 @@
|
||||
TEMPLATE = subdirs
|
||||
SUBDIRS = itemviews qgraphicsview kernel widgets
|
||||
greaterThan(QT_MAJOR_VERSION, 4): SUBDIRS += styles
|
||||
SUBDIRS = itemviews qgraphicsview kernel widgets styles
|
||||
|
@ -4,9 +4,7 @@
|
||||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += core gui
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
QT += core gui widgets
|
||||
|
||||
TARGET = BigMenuCreator
|
||||
TEMPLATE = app
|
||||
|
@ -1,5 +1,4 @@
|
||||
QT += core gui
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
QT += core gui widgets
|
||||
TARGET = windowchildgeometry
|
||||
TEMPLATE = app
|
||||
|
||||
|
@ -9,4 +9,4 @@ SOURCES = controllerwindow.cpp \
|
||||
main.cpp \
|
||||
controls.cpp
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
QT += widgets
|
||||
|
@ -1,5 +1,4 @@
|
||||
QT += core gui
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
QT += core gui widgets
|
||||
TARGET = windowgeometry
|
||||
TEMPLATE = app
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
SOURCES = main.cpp
|
||||
FORMS = widget.ui dialog.ui
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
||||
QT += widgets printsupport
|
||||
|
Loading…
Reference in New Issue
Block a user