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