2011-05-25 07:15:14 +00:00
|
|
|
QT += core gui widgets
|
2011-05-11 15:35:46 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2012-07-10 14:13:06 +00:00
|
|
|
# install
|
2012-11-26 13:04:31 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/cube
|
2012-11-27 19:40:16 +00:00
|
|
|
INSTALLS += target
|
2011-05-11 15:35:46 +00:00
|
|
|
|
|
|
|
simulator: warning(This example might not fully work on Simulator platform)
|