5466eb289f
The Qt Simulator is no longer supported with Qt 5. Change-Id: I0f98351d482dd0554ea0754746d56f94ee6bf22f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
26 lines
391 B
Prolog
26 lines
391 B
Prolog
QT += core gui widgets
|
|
|
|
TARGET = cube
|
|
TEMPLATE = app
|
|
|
|
SOURCES += main.cpp
|
|
|
|
qtHaveModule(opengl) {
|
|
QT += opengl
|
|
|
|
SOURCES += mainwidget.cpp \
|
|
geometryengine.cpp
|
|
|
|
HEADERS += \
|
|
mainwidget.h \
|
|
geometryengine.h
|
|
|
|
RESOURCES += \
|
|
shaders.qrc \
|
|
textures.qrc
|
|
}
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/cube
|
|
INSTALLS += target
|