2012-02-21 15:09:30 +00:00
|
|
|
QT += opengl widgets
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2015-05-15 07:59:08 +00:00
|
|
|
contains(QT_CONFIG, opengles.|angle|dynamicgl):error("This example requires Qt to be configured with -opengl desktop")
|
2013-03-27 15:53:42 +00:00
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
HEADERS += 3rdparty/fbm.h \
|
|
|
|
glbuffers.h \
|
|
|
|
glextensions.h \
|
|
|
|
gltrianglemesh.h \
|
|
|
|
qtbox.h \
|
|
|
|
roundedbox.h \
|
|
|
|
scene.h \
|
|
|
|
trackball.h
|
|
|
|
SOURCES += 3rdparty/fbm.c \
|
|
|
|
glbuffers.cpp \
|
|
|
|
glextensions.cpp \
|
|
|
|
main.cpp \
|
|
|
|
qtbox.cpp \
|
|
|
|
roundedbox.cpp \
|
|
|
|
scene.cpp \
|
|
|
|
trackball.cpp
|
|
|
|
|
|
|
|
RESOURCES += boxes.qrc
|
|
|
|
|
|
|
|
# install
|
2012-11-26 13:04:31 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/boxes
|
2012-11-27 19:40:16 +00:00
|
|
|
INSTALLS += target
|