2011-04-27 10:05:43 +00:00
|
|
|
HEADERS += glwidget.h
|
|
|
|
SOURCES += glwidget.cpp main.cpp
|
|
|
|
|
2011-05-07 21:50:03 +00:00
|
|
|
QT += opengl widgets
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
# install
|
2015-05-13 19:30:04 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/legacy/samplebuffers
|
2012-11-27 19:40:16 +00:00
|
|
|
INSTALLS += target
|
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")
|