diff --git a/examples/painting/composition/main.cpp b/examples/painting/composition/main.cpp index d6bc170a97..3c6a16aaf5 100644 --- a/examples/painting/composition/main.cpp +++ b/examples/painting/composition/main.cpp @@ -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); diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h index 3446e29029..c25ea16e43 100644 --- a/src/opengl/qgl.h +++ b/src/opengl/qgl.h @@ -101,8 +101,6 @@ class QGLContextPrivate; // Namespace class: namespace QGL { - Q_OPENGL_EXPORT void setPreferredPaintEngine(QPaintEngine::Type engineType); - enum FormatOption { DoubleBuffer = 0x0001, DepthBuffer = 0x0002,