summaryrefslogtreecommitdiffstats
path: root/tests/auto/qglthreads
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-10-07 14:12:04 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-10-07 14:12:04 (GMT)
commit5f8ef6ac44e1db842003deeed6525eea70d8d83d (patch)
tree2b67b2abe7038e97fc72967a4882bf15c38d39a1 /tests/auto/qglthreads
parentd7dd967d4a4775e70d270dbcd0623ef07128d420 (diff)
parent62a2fe9092d3b6038a08f5c5a7faa4a863b84fdc (diff)
downloadQt-5f8ef6ac44e1db842003deeed6525eea70d8d83d.zip
Qt-5f8ef6ac44e1db842003deeed6525eea70d8d83d.tar.gz
Qt-5f8ef6ac44e1db842003deeed6525eea70d8d83d.tar.bz2
Merge remote branch 'origin/4.7' into qt-master-from-4.7
Conflicts: qmake/generators/win32/msbuild_objectmodel.cpp qmake/generators/win32/msbuild_objectmodel.h qmake/generators/win32/msvc_objectmodel.cpp qmake/generators/win32/msvc_vcxproj.cpp src/corelib/arch/qatomic_arm.h tests/auto/qglthreads/tst_qglthreads.cpp
Diffstat (limited to 'tests/auto/qglthreads')
-rw-r--r--tests/auto/qglthreads/tst_qglthreads.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qglthreads/tst_qglthreads.cpp b/tests/auto/qglthreads/tst_qglthreads.cpp
index 38b0dab..9441406 100644
--- a/tests/auto/qglthreads/tst_qglthreads.cpp
+++ b/tests/auto/qglthreads/tst_qglthreads.cpp
@@ -45,6 +45,10 @@
#include <QtOpenGL/QtOpenGL>
#include "tst_qglthreads.h"
+#ifdef Q_OS_SYMBIAN
+#include <unistd.h> // for usleep
+#endif
+
#define RUNNING_TIME 5000
tst_QGLThreads::tst_QGLThreads(QObject *parent)
@@ -203,6 +207,7 @@ public:
p.drawText(image.rect(), Qt::AlignCenter, "This is an autotest");
p.end();
m_gl->bindTexture(image, GL_TEXTURE_2D, GL_RGBA, QGLContext::InternalBindOption);
+
createdAndUploaded(image);
}
}