b1909fe118
Change-Id: I071fd862e001b766c9fb13106242edf23a608663 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
34 lines
684 B
Prolog
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)
|