Debian Codegraph @

tests/auto/linguist/lupdate/testdata/good/proparsing2/project.pro

raw
1 # This is to test if quoted elements with spaces are treated as elements (and not splitted up due
2 # to the spaces.)
3 # It also tries to verify the behaviour of combining quoted and non-quoted elements with literals.
4 #
5
6 QUOTED = $$quote(variable with spaces)
7 VERSIONAB = "a.b"
8 VAB = $$split(VERSIONAB, ".")
9 V += $$VAB
10 V += $$QUOTED
11
12 # this is just to make p4 happy with no spaces in filename
13 SOURCES += $$member(V,0,1)
14 V2 = $$member(V,2)
15 V2S = $$split(V2, " ")
16 SOURCES += $$join(V2S,"_")
17 message($$SOURCES)
18 # SOURCES += [a, b, variable_with_spaces]
19
20 LIST = d e f
21 L2 = x/$$LIST/g.cpp
22 SOURCES += $$L2
23 # SOURCES += [x/d, e, f/g.cpp]
24
25 QUOTEDEXTRA = x/$$QUOTED/z
26 Q3 = $$split(QUOTEDEXTRA, " ")
27 SOURCES += $$Q3
28 # SOURCES += [x/variable, with, spaces/z]
29
30 win32: SOURCES += $$system(type files-cc.txt)
31 unix: SOURCES += $$system(cat files-cc.txt)
32
33 TRANSLATIONS = project.ts