f13b0b2cf2
Compiling the default examples should be possible without compile errors. Task-number: QTBUG-53141 Change-Id: I73d8787241291ae6230861a89b38e91d900fede0 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
28 lines
688 B
Prolog
28 lines
688 B
Prolog
QT += opengl widgets
|
|
requires(qtConfig(combobox))
|
|
|
|
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
|