summaryrefslogtreecommitdiffstats
path: root/tests/auto/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/opengl')
-rw-r--r--tests/auto/opengl/qgl/qgl.pro5
-rw-r--r--tests/auto/opengl/qglbuffer/qglbuffer.pro5
-rw-r--r--tests/auto/opengl/qglfunctions/qglfunctions.pro5
-rw-r--r--tests/auto/opengl/qglthreads/qglthreads.pro5
4 files changed, 12 insertions, 8 deletions
diff --git a/tests/auto/opengl/qgl/qgl.pro b/tests/auto/opengl/qgl/qgl.pro
index c5e26451ed..963b2d7e55 100644
--- a/tests/auto/opengl/qgl/qgl.pro
+++ b/tests/auto/opengl/qgl/qgl.pro
@@ -2,9 +2,10 @@
# Project file for autotest for file qgl.h
############################################################
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qgl
requires(contains(QT_CONFIG,opengl))
-QT += widgets widgets-private opengl-private gui-private core-private
+QT += widgets widgets-private opengl-private gui-private core-private testlib
contains(QT_CONFIG,egl):DEFINES += QGL_EGL
win32:!wince*: DEFINES += QT_NO_EGL
diff --git a/tests/auto/opengl/qglbuffer/qglbuffer.pro b/tests/auto/opengl/qglbuffer/qglbuffer.pro
index 48bd966797..537f3c122a 100644
--- a/tests/auto/opengl/qglbuffer/qglbuffer.pro
+++ b/tests/auto/opengl/qglbuffer/qglbuffer.pro
@@ -2,9 +2,10 @@
# Project file for autotest for file qglbuffer.h
############################################################
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qglbuffer
requires(contains(QT_CONFIG,opengl))
-QT += opengl widgets
+QT += opengl widgets testlib
win32:!wince*: DEFINES += QT_NO_EGL
diff --git a/tests/auto/opengl/qglfunctions/qglfunctions.pro b/tests/auto/opengl/qglfunctions/qglfunctions.pro
index 9fe8de2b23..4b7c8758a9 100644
--- a/tests/auto/opengl/qglfunctions/qglfunctions.pro
+++ b/tests/auto/opengl/qglfunctions/qglfunctions.pro
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qglfunctions
requires(contains(QT_CONFIG,opengl))
-QT += opengl widgets
+QT += opengl widgets testlib
win32:!wince*: DEFINES += QT_NO_EGL
diff --git a/tests/auto/opengl/qglthreads/qglthreads.pro b/tests/auto/opengl/qglthreads/qglthreads.pro
index d2fd31411f..7adde09e93 100644
--- a/tests/auto/opengl/qglthreads/qglthreads.pro
+++ b/tests/auto/opengl/qglthreads/qglthreads.pro
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qglthreads
requires(contains(QT_CONFIG,opengl))
-QT += opengl widgets
+QT += opengl widgets testlib
win32:!wince*: DEFINES += QT_NO_EGL