Build fix after setPreferredPaintEngine was removed

Change-Id: I286529e0e1917ee3c808eba7dad0957dd4d8194f
Reviewed-on: http://codereview.qt.nokia.com/3083
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
Paul Olav Tvete 2011-08-17 11:47:25 +02:00 committed by Samuel Rødal
parent 801450dfa3
commit 78056064cc
2 changed files with 0 additions and 5 deletions

View File

@ -50,9 +50,6 @@ int main(int argc, char **argv)
{
// Q_INIT_RESOURCE(deform);
#ifdef QT_OPENGL_SUPPORT
QGL::setPreferredPaintEngine(QPaintEngine::OpenGL);
#endif
QApplication app(argc, argv);
CompositionWidget compWidget(0);

View File

@ -101,8 +101,6 @@ class QGLContextPrivate;
// Namespace class:
namespace QGL
{
Q_OPENGL_EXPORT void setPreferredPaintEngine(QPaintEngine::Type engineType);
enum FormatOption {
DoubleBuffer = 0x0001,
DepthBuffer = 0x0002,