mirror of https://github.com/nymea/nymea.git
Make sure plugininfo.h is found for translation extraction
parent
32f7f22a7d
commit
fa0057b197
|
|
@ -60,6 +60,9 @@ plugininfo_clean.commands = rm -fv $$OUT_PWD/plugininfo.h $$OUT_PWD/extern-plugi
|
||||||
clean.depends = plugininfo_clean
|
clean.depends = plugininfo_clean
|
||||||
QMAKE_EXTRA_TARGETS += clean plugininfo_clean
|
QMAKE_EXTRA_TARGETS += clean plugininfo_clean
|
||||||
|
|
||||||
|
# Make sure the plugininfo.h is found in HEADERS for extracting translations
|
||||||
|
HEADERS += $$OUT_PWD/plugininfo.h
|
||||||
|
|
||||||
# Install translation files
|
# Install translation files
|
||||||
TRANSLATIONS *= $$files($${_PRO_FILE_PWD_}/translations/*ts, true)
|
TRANSLATIONS *= $$files($${_PRO_FILE_PWD_}/translations/*ts, true)
|
||||||
lupdate.depends = FORCE
|
lupdate.depends = FORCE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue