Do not force copying translations if build in debug mode.
--HG-- branch : develop
This commit is contained in:
parent
9be7403919
commit
65c98f6a39
|
@ -72,7 +72,11 @@ for(_translation_name, INSTALL_TRANSLATIONS) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Make possible run program even you do not install it. Seek files in local directory.
|
# Make possible run program even you do not install it. Seek files in local directory.
|
||||||
forceCopyToDestdir($$INSTALL_TRANSLATIONS, $$shell_path($${OUT_PWD}/$$DESTDIR/translations))
|
CONFIG(release, debug|release){
|
||||||
|
forceCopyToDestdir($$INSTALL_TRANSLATIONS, $$shell_path($${OUT_PWD}/$$DESTDIR/translations))
|
||||||
|
} else {
|
||||||
|
copyToDestdir($$INSTALL_TRANSLATIONS, $$shell_path($${OUT_PWD}/$$DESTDIR/translations))
|
||||||
|
}
|
||||||
|
|
||||||
macx{
|
macx{
|
||||||
RESOURCES_DIR = "Contents/Resources"
|
RESOURCES_DIR = "Contents/Resources"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user