blob: 2ba40a6f746a33aef1e77dd0e8af837f03e7398f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
QT += opengl svg widgets
HEADERS += glwidget.h
SOURCES += glwidget.cpp main.cpp
RESOURCES += pbuffers2.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/legacy/pbuffers2
INSTALLS += target
contains(QT_CONFIG, opengles.|angle|dynamicgl):error("This example requires Qt to be configured with -opengl desktop")
|