qt5base-lts/examples/opengl/cube/cube.pro

28 lines
468 B
Prolog
Raw Normal View History

2011-05-25 07:15:14 +00:00
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
simulator: warning(This example might not fully work on Simulator platform)