blob: 710b4442c738d759fa990a01d62f1564c867d6ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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)
|