0
|
1 |
#! [0]
|
|
2 |
EXTRAS = handlers tests docs
|
|
3 |
for(dir, EXTRAS) {
|
|
4 |
exists($$dir) {
|
|
5 |
SUBDIRS += $$dir
|
|
6 |
}
|
|
7 |
}
|
|
8 |
#! [0]
|
|
9 |
|
|
10 |
SOURCES = paintwidget_mac.cpp paintwidget_unix.cpp paintwidget_win.cpp
|
|
11 |
macx {
|
|
12 |
SOURCES = $$find(SOURCES, "_mac")
|
|
13 |
}
|
|
14 |
|
|
15 |
#! [1]
|
|
16 |
HEADERS = model.h
|
|
17 |
HEADERS += $$OTHER_HEADERS
|
|
18 |
HEADERS = $$unique(HEADERS)
|
|
19 |
#! [1]
|
|
20 |
|
|
21 |
CONFIG += debug
|
|
22 |
#! [2]
|
|
23 |
options = $$find(CONFIG, "debug") $$find(CONFIG, "release")
|
|
24 |
#! [3]
|
|
25 |
count(options, 2) {
|
|
26 |
message(Both release and debug specified.)
|
|
27 |
}
|
|
28 |
#! [2] #! [3]
|
|
29 |
|
|
30 |
#! [4]
|
|
31 |
eval(TARGET = myapp) {
|
|
32 |
message($$TARGET)
|
|
33 |
}
|
|
34 |
#! [4]
|