diff --git a/qbittorrent.pro b/qbittorrent.pro index a7f2a137d..1910dbaef 100644 --- a/qbittorrent.pro +++ b/qbittorrent.pro @@ -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 diff --git a/src/src.pro b/src/src.pro index 5bbf39b3c..e1c069ff2 100644 --- a/src/src.pro +++ b/src/src.pro @@ -76,7 +76,4 @@ RESOURCES += \ lang/lang.qrc \ searchengine/searchengine.qrc -# Translations -include(lang/lang.pri) - DESTDIR = .