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 committed by sledgehammer999
parent f214dc88fc
commit 8001eb0368
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
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 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 # For Qt Creator beautifier
DISTFILES += \ DISTFILES += \
uncrustify.cfg uncrustify.cfg

View file

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