summaryrefslogtreecommitdiffstats
path: root/src/opengl/.prev_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/.prev_CMakeLists.txt')
-rw-r--r--src/opengl/.prev_CMakeLists.txt17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/opengl/.prev_CMakeLists.txt b/src/opengl/.prev_CMakeLists.txt
index 2844fac32d..85e382fa16 100644
--- a/src/opengl/.prev_CMakeLists.txt
+++ b/src/opengl/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## OpenGL Module:
#####################################################################
-add_qt_module(OpenGL
+qt_add_module(OpenGL
SOURCES
gl2paintengineex/qgl2pexvertexarray.cpp gl2paintengineex/qgl2pexvertexarray_p.h
gl2paintengineex/qglcustomshaderstage.cpp gl2paintengineex/qglcustomshaderstage_p.h
@@ -36,13 +36,10 @@ add_qt_module(OpenGL
Qt::Widgets
)
-#### Keys ignored in scope 1:.:.:opengl.pro:<TRUE>:
-# _LOADED = "qt_module"
-
## Scopes:
#####################################################################
-extend_target(OpenGL CONDITION MSVC AND (TEST_architecture_arch STREQUAL "i386")
+qt_extend_target(OpenGL CONDITION MSVC AND (TEST_architecture_arch STREQUAL "i386")
LINK_OPTIONS
"/BASE:0x63000000"
)
@@ -50,17 +47,11 @@ extend_target(OpenGL CONDITION MSVC AND (TEST_architecture_arch STREQUAL "i386")
#### Keys ignored in scope 3:.:.:opengl.pro:solaris-cc_x_:
# QMAKE_CXXFLAGS_RELEASE = "--O2"
-#### Keys ignored in scope 4:.:.:opengl.pro:QT_FEATURE_opengl:
-# CONFIG = "opengl"
-
-#### Keys ignored in scope 5:.:.:opengl.pro:QT_FEATURE_opengles2:
-# CONFIG = "opengles2"
-
-extend_target(OpenGL CONDITION QT_FEATURE_graphicseffect
+qt_extend_target(OpenGL CONDITION QT_FEATURE_graphicseffect
SOURCES
qgraphicsshadereffect.cpp qgraphicsshadereffect_p.h
)
-add_qt_docs(
+qt_add_docs(OpenGL
doc/qtopengl.qdocconf
)