2012-12-19 10:27:10 +00:00
|
|
|
QT += opengl widgets
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
VPATH += ../shared
|
|
|
|
INCLUDEPATH += ../shared
|
|
|
|
|
|
|
|
HEADERS = bubble.h \
|
|
|
|
glwidget.h \
|
|
|
|
qtlogo.h
|
2012-12-19 10:27:10 +00:00
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
SOURCES = bubble.cpp \
|
|
|
|
glwidget.cpp \
|
|
|
|
main.cpp \
|
|
|
|
qtlogo.cpp
|
|
|
|
|
|
|
|
# install
|
2012-11-26 13:04:31 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/overpainting
|
2012-11-27 19:40:16 +00:00
|
|
|
INSTALLS += target
|
2011-04-27 17:16:41 +00:00
|
|
|
|
|
|
|
simulator: warning(This example might not fully work on Simulator platform)
|
2012-12-17 11:43:26 +00:00
|
|
|
|
|
|
|
contains(QT_CONFIG, opengles.) {
|
|
|
|
contains(QT_CONFIG, angle): \
|
|
|
|
warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c")
|
|
|
|
error("This example requires Qt to be configured with -opengl desktop")
|
|
|
|
}
|