summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lupdate/testdata/good/merge_whitespace/project.pro
blob: f4faf2fe1f0e5882563414976a58b62d8495d2af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
TEMPLATE = app
LANGUAGE = C++

SOURCES = main.cpp

TRANSLATIONS        = project.ts

# Copy the ts to a temp file because:
# 1. The depot file is usually read-only
# 2. We don't want to modify the original file, since then it won't be possible to run the test twice
#    without reverting the original file again.

win32: system(copy /Y project.ts.before $$TRANSLATIONS)
unix:  system(cp -f project.ts.before $$TRANSLATIONS && chmod a+w $$TRANSLATIONS)