~ubuntu-branches/ubuntu/wily/qtbase-opensource-src/wily

« back to all changes in this revision

Viewing changes to examples/opengl/framebufferobject2/framebufferobject2.pro

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2013-02-05 12:46:17 UTC
  • Revision ID: package-import@ubuntu.com-20130205124617-c8jouts182j002fx
Tags: upstream-5.0.1+dfsg
ImportĀ upstreamĀ versionĀ 5.0.1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
HEADERS += glwidget.h
 
2
SOURCES += glwidget.cpp main.cpp
 
3
RESOURCES += framebufferobject2.qrc
 
4
 
 
5
QT += opengl widgets
 
6
 
 
7
# install
 
8
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/framebufferobject2
 
9
INSTALLS += target
 
10
 
 
11
 
 
12
simulator: warning(This example might not fully work on Simulator platform)
 
13
 
 
14
contains(QT_CONFIG, opengles.) {
 
15
    contains(QT_CONFIG, angle): \
 
16
        warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c")
 
17
    error("This example requires Qt to be configured with -opengl desktop")
 
18
}