diff options
author | David Boddie <david.boddie@nokia.com> | 2011-05-11 17:35:46 +0200 |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-05-23 14:24:07 +0200 |
commit | 0cbcc61ef35b9bce1d65d048853c79004b755b87 (patch) | |
tree | 0e10f00827d9d3b84862e371d163f1b2774ee996 /examples/opengl/cube/cube.pro | |
parent | 0748751c9f097d9d866605306bbdd4b96e2a5c4e (diff) |
Squashed commit of changes from the 4.8-temp branch.
Diffstat (limited to 'examples/opengl/cube/cube.pro')
-rw-r--r-- | examples/opengl/cube/cube.pro | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/examples/opengl/cube/cube.pro b/examples/opengl/cube/cube.pro new file mode 100644 index 0000000000..64f6973c00 --- /dev/null +++ b/examples/opengl/cube/cube.pro @@ -0,0 +1,40 @@ +#------------------------------------------------- +# +# Project created by QtCreator 2010-06-23T12:55:35 +# +#------------------------------------------------- + +QT += core gui + +TARGET = cube +TEMPLATE = app + +SOURCES += main.cpp + +contains(QT_CONFIG, opengl) { + message(Building with OpenGL support.) + QT += opengl + + SOURCES += mainwidget.cpp \ + geometryengine.cpp + + HEADERS += \ + mainwidget.h \ + geometryengine.h + + RESOURCES += \ + shaders.qrc \ + textures.qrc + + OTHER_FILES += \ + vshader.glsl \ + fshader.glsl +} else { + message(OpenGL support is not available.) +} + +symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri) +maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri) + +symbian: warning(This example might not fully work on Symbian platform) +simulator: warning(This example might not fully work on Simulator platform) |