doc/src/snippets/qmake/configscopes.pro
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Thu, 08 Apr 2010 14:19:33 +0300
branchRCL_3
changeset 7 3f74d0d4af4c
parent 0 1918ee327afb
permissions -rw-r--r--
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84

SOURCES = main.cpp
#! [0]
CONFIG += opengl
#! [0]

#! [1]
opengl {
    TARGET = application-gl
} else {
#! [1] #! [2]
    TARGET = application
#! [2] #! [3]
}
#! [3]

#! [4]
CONFIG(opengl) {
    message(Building with OpenGL support.)
} else {
#! [4] #! [5]
    message(OpenGL support is not available.)
}
#! [5]