qt5base-lts/examples/opengl/cube/cube.pro
Friedemann Kleint b1909fe118 qtbase: Add missing example installs and files.
Change-Id: I071fd862e001b766c9fb13106242edf23a608663
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-07-10 22:24:40 +02:00

34 lines
684 B
Prolog

QT += core gui widgets
TARGET = cube
TEMPLATE = app
SOURCES += main.cpp
contains(QT_CONFIG, opengl) {
QT += opengl
SOURCES += mainwidget.cpp \
geometryengine.cpp
HEADERS += \
mainwidget.h \
geometryengine.h
RESOURCES += \
shaders.qrc \
textures.qrc
OTHER_FILES += \
vshader.glsl \
fshader.glsl
}
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/opengl/cube
sources.files = $$SOURCES $$HEADERS $$RESOURCES cube.png *.glsl *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/opengl/cube
INSTALLS += target sources
simulator: warning(This example might not fully work on Simulator platform)