doc/src/snippets/qmake/scopes.pro
branchRCL_3
changeset 7 3f74d0d4af4c
parent 0 1918ee327afb
equal deleted inserted replaced
6:dee5afe5301f 7:3f74d0d4af4c
       
     1 #! [syntax]
       
     2 <condition> {
       
     3     <command or definition>
       
     4     ...
       
     5 }
       
     6 #! [syntax]
       
     7 
       
     8 #! [0]
       
     9 win32 {
       
    10     SOURCES += paintwidget_win.cpp
       
    11 }
       
    12 #! [0]
       
    13 
       
    14 #! [1]
       
    15 !win32 {
       
    16     SOURCES -= paintwidget_win.cpp
       
    17 }
       
    18 #! [1]
       
    19 
       
    20 unix {
       
    21     SOURCES += paintwidget_unix.cpp
       
    22 }
       
    23 
       
    24 #! [2]
       
    25 macx {
       
    26     debug {
       
    27         HEADERS += debugging.h
       
    28     }
       
    29 }
       
    30 #! [2]
       
    31 
       
    32 #! [3]
       
    33 macx:debug {
       
    34     HEADERS += debugging.h
       
    35 }
       
    36 #! [3]
       
    37 
       
    38 #! [4]
       
    39 win32|macx {
       
    40     HEADERS += debugging.h
       
    41 }
       
    42 #! [4]