blob: c6a970fae11435f192af20cd95e023e24220fe36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Try to reference a variable that does not exist:
MYVAR=$$THIS_VARIABLE_IS_NOT_DEFINED
QT += widgets
SOURCES += main.cpp
win32 {
SOURCES += main_win.cpp
}
unix {
SOURCES += main_unix.cpp
}
mac {
SOURCES += main_mac.cpp
}
SOURCES += wildcard/main*.cpp \
# yadiyada it should also parse the next line
wildcard*.cpp
VPATH = vpaths/dependpath
# The purpose of this test is to test expansion of environment variables,
# and to test if the VPATH variable is considered correctly.
if (exists($$member($$(PATH), 0))) {
SOURCES += main_dependpath.cpp
}
inst.files = qml *.qml
INSTALLS += inst
TRANSLATIONS = project.ts
|