Clean up some conditions in our pro files
Change qtConfig(opengl(es2)?) to qtConfig(opengl) as that covers the case without any regular expression. Change-Id: I935e3150f87e195e8bd3d0e55b4ed43572b131cf Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
parent
6de11782d0
commit
94f9ee79a6
@ -22,11 +22,9 @@ SUBDIRS = \
|
||||
tutorials \
|
||||
widgets
|
||||
|
||||
qtConfig(opengl(es2)?) {
|
||||
qtConfig(opengl): \
|
||||
SUBDIRS += windowcontainer
|
||||
}
|
||||
|
||||
!qtConfig(opengl(es2)?): SUBDIRS -= windowcontainer
|
||||
contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows
|
||||
contains(DEFINES, QT_NO_DRAGANDDROP): SUBDIRS -= draganddrop
|
||||
mac:SUBDIRS += mac
|
||||
|
@ -139,7 +139,7 @@ SOURCES += \
|
||||
kernel/qhighdpiscaling.cpp
|
||||
|
||||
|
||||
qtConfig(opengl(es2)?) {
|
||||
qtConfig(opengl) {
|
||||
HEADERS += \
|
||||
kernel/qplatformopenglcontext.h \
|
||||
kernel/qopenglcontext.h \
|
||||
|
@ -3,7 +3,7 @@
|
||||
qtConfig(opengl): CONFIG += opengl
|
||||
qtConfig(opengles2): CONFIG += opengles2
|
||||
|
||||
qtConfig(opengl(es2)?) {
|
||||
qtConfig(opengl) {
|
||||
|
||||
HEADERS += opengl/qopengl.h \
|
||||
opengl/qopengl_p.h \
|
||||
|
@ -174,7 +174,7 @@ qtConfig(gui) {
|
||||
src_platformsupport.depends += src_3rdparty_freetype
|
||||
}
|
||||
SUBDIRS += src_gui src_platformsupport src_platformheaders
|
||||
qtConfig(opengl(es2)?): SUBDIRS += src_openglextensions
|
||||
qtConfig(opengl): SUBDIRS += src_openglextensions
|
||||
src_plugins.depends += src_gui src_platformsupport src_platformheaders
|
||||
src_testlib.depends += src_gui # if QtGui is enabled, QtTest requires QtGui's headers
|
||||
qtConfig(widgets) {
|
||||
@ -182,7 +182,7 @@ qtConfig(gui) {
|
||||
TOOLS += src_tools_uic
|
||||
src_plugins.depends += src_widgets
|
||||
src_testlib.depends += src_widgets # if QtWidgets is enabled, QtTest requires QtWidgets's headers
|
||||
qtConfig(opengl(es2)?) {
|
||||
qtConfig(opengl) {
|
||||
SUBDIRS += src_opengl
|
||||
src_plugins.depends += src_opengl
|
||||
}
|
||||
|
@ -13,4 +13,4 @@ SUBDIRS = \
|
||||
util \
|
||||
itemmodels \
|
||||
|
||||
!qtConfig(opengl(es2)?): SUBDIRS -= qopengl qopenglconfig
|
||||
!qtConfig(opengl): SUBDIRS -= qopengl qopenglconfig
|
||||
|
@ -34,6 +34,6 @@ win32:!winrt:qtHaveModule(network): SUBDIRS += noqteventloop
|
||||
!qtHaveModule(network): SUBDIRS -= \
|
||||
qguieventloop
|
||||
|
||||
!qtConfig(opengl(es2)?): SUBDIRS -= qopenglwindow
|
||||
!qtConfig(opengl): SUBDIRS -= qopenglwindow
|
||||
|
||||
uikit: SUBDIRS -= qclipboard
|
||||
|
Loading…
Reference in New Issue
Block a user