Avoid regenerating .qm files unnecessarily

Translations included at top level is to avoid regenerating the .qm files every
time when src.pro is processed.
Partially revert 5b7c089dd2.
This commit is contained in:
Chocobo1 2018-08-02 00:48:42 +08:00
parent 9612a75faa
commit 1c7abfdf46
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 4 additions and 3 deletions

View file

@ -17,6 +17,10 @@ tarball.commands += rm -fR $${PROJECT_NAME}-$${PROJECT_VERSION}
QMAKE_EXTRA_TARGETS += tarball
# Translations included here (at top level) is to avoid regenerating the .qm files
# every time when src.pro is processed
include(src/lang/lang.pri)
# For Qt Creator beautifier
DISTFILES += \
uncrustify.cfg

View file

@ -76,7 +76,4 @@ RESOURCES += \
lang/lang.qrc \
searchengine/searchengine.qrc
# Translations
include(lang/lang.pri)
DESTDIR = .