summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgl/qgl.pro
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-12-28 19:59:35 (GMT)
committerQt by Nokia <qt-info@nokia.com>2011-12-29 13:56:39 (GMT)
commit5991bc3b3b7c638592ec5e7060e467f4838201d8 (patch)
treea1a77adcdf1075860c4e30d11d7f3a0eb5f24ff9 /tests/auto/qgl/qgl.pro
parentf80d04ea96a52090e939a53779aa04d4bd174f24 (diff)
downloadQt-5991bc3b3b7c638592ec5e7060e467f4838201d8.zip
Qt-5991bc3b3b7c638592ec5e7060e467f4838201d8.tar.gz
Qt-5991bc3b3b7c638592ec5e7060e467f4838201d8.tar.bz2
tests: eliminated usage of qttest_p4.prf [part 2]
qttest_p4.prf was added as a convenience for Qt's own autotests in Qt4. It enables various crufty undocumented magic, of dubious value. Stop using it, and explicitly enable the things from it which we want. Change-Id: I8a0bed9161ea9ac010ef3269f2e9baed7bbc2f41 Reviewed-by: Rohan McGovern Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'tests/auto/qgl/qgl.pro')
-rw-r--r--tests/auto/qgl/qgl.pro12
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/auto/qgl/qgl.pro b/tests/auto/qgl/qgl.pro
index ae8fe54..7c4b341 100644
--- a/tests/auto/qgl/qgl.pro
+++ b/tests/auto/qgl/qgl.pro
@@ -1,15 +1,13 @@
-############################################################
-# Project file for autotest for file qgl.h
-############################################################
+CONFIG += testcase
-load(qttest_p4)
-requires(contains(QT_CONFIG,opengl))
-QT += opengl
+TARGET = tst_qgl
+QT += opengl testlib
+SOURCES += tst_qgl.cpp
+requires(contains(QT_CONFIG,opengl))
contains(QT_CONFIG,egl):DEFINES += QGL_EGL
win32:!wince*: DEFINES += QT_NO_EGL
-SOURCES += tst_qgl.cpp
RESOURCES = qgl.qrc
CONFIG+=insignificant_test # QTQAINFRA-428