qt5base-lts/examples/opengl/cube/cube.pro
Friedemann Kleint 87274e272d QtBase examples: Remove Maemo/Symbian-specific code.
- Maemo/Symbian are no longer supported and QWidget-based examples
  are no longer supposed to run on mobile platforms, so, remove any
  Maemo/Symbian or mobile-specific code from source files and
  profiles.
- Remove Maemo/Symbian vibration examples.
- Change Q_WS_MAC/WIN to Q_OS_MAC/WIN where appropriate.

Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>

Change-Id: I488a0adadb98934567aa6416206a80465c9c3a81
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
2011-10-18 15:47:49 +02:00

38 lines
718 B
Prolog

#-------------------------------------------------
#
# Project created by QtCreator 2010-06-23T12:55:35
#
#-------------------------------------------------
QT += core gui widgets
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.)
}
simulator: warning(This example might not fully work on Simulator platform)