doc/src/snippets/qmake/configscopes.pro
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 SOURCES = main.cpp
       
     2 #! [0]
       
     3 CONFIG += opengl
       
     4 #! [0]
       
     5 
       
     6 #! [1]
       
     7 opengl {
       
     8     TARGET = application-gl
       
     9 } else {
       
    10 #! [1] #! [2]
       
    11     TARGET = application
       
    12 #! [2] #! [3]
       
    13 }
       
    14 #! [3]
       
    15 
       
    16 #! [4]
       
    17 CONFIG(opengl) {
       
    18     message(Building with OpenGL support.)
       
    19 } else {
       
    20 #! [4] #! [5]
       
    21     message(OpenGL support is not available.)
       
    22 }
       
    23 #! [5]