doc/src/snippets/qmake/configscopes.pro
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Wed, 28 Apr 2010 13:15:16 +0300
branchRCL_3
changeset 15 b25b6dc3ff8b
parent 0 1918ee327afb
permissions -rw-r--r--
2010-17 8b4fb6db9a24f58dafbd4734d9c4a87a72f9ad8f

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]