From e48737ae778b8ef5e8e905825a2787b97deea23d Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 20 Mar 2014 12:58:22 +0100 Subject: Introduce QOpenGLWindow [ChangeLog] Added QOpenGLWindow. This serves as a convenience class for creating windows showing OpenGL content via an API similar to QGLWidget and without any widget dependencies. Done-with: Jorgen Lind Task-number: QTBUG-36899 Change-Id: I52e9bc61acb129dbfd3841b3adeffab2dbcf7f05 Reviewed-by: Gunnar Sletta --- examples/opengl/qopenglwindow/qopenglwindow.pro | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/opengl/qopenglwindow/qopenglwindow.pro (limited to 'examples/opengl/qopenglwindow/qopenglwindow.pro') diff --git a/examples/opengl/qopenglwindow/qopenglwindow.pro b/examples/opengl/qopenglwindow/qopenglwindow.pro new file mode 100644 index 0000000000..dad4b58158 --- /dev/null +++ b/examples/opengl/qopenglwindow/qopenglwindow.pro @@ -0,0 +1,15 @@ +TEMPLATE = app +TARGET = qopenglwindow +INCLUDEPATH += . + +RESOURCES += shaders.qrc + +SOURCES += \ + main.cpp \ + background_renderer.cpp + +HEADERS += \ + background_renderer.h + +target.path = $$[QT_INSTALL_EXAMPLES]/opengl/qopenglwindow +INSTALLS += target -- cgit v1.2.3