doc/src/snippets/qmake/configscopes.pro
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Thu, 22 Apr 2010 16:15:11 +0300
branchRCL_3
changeset 14 8c4229025c0b
parent 0 1918ee327afb
permissions -rw-r--r--
930346f3335f271b808bd69409c708262673ba3a

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]