60985aa42b
Use the new qtConfig macro in all pro/pri files. This required adding some feature entries, and adding {private,public}Feature to every referenced already existing entry. Change-Id: I164214dad1154df6ad84e86d99ed14994ef97cf4 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
27 lines
659 B
Prolog
27 lines
659 B
Prolog
QT += opengl widgets
|
|
|
|
qtConfig(opengles.|angle|dynamicgl): error("This example requires Qt to be configured with -opengl desktop")
|
|
|
|
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
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/boxes
|
|
INSTALLS += target
|