While cross compiling I get a message that something is not working with the translations:
lrelease ; rsync -a /home/michael/nymea-plugin-test/translations/*.qm /home/michael/nymea-plugin-test/translations/; Usage: lrelease [options] project-file lrelease [options] ts-files [-qm qm-file] lrelease is part of Qt's Linguist tool chain. It can be used as a stand-alone tool to convert XML-based translations files in the TS format into the 'compiled' QM format used by QTranslator objects. Options: -help Display this information and exit -idbased Use IDs instead of source strings for message keying -compress Compress the QM files -nounfinished Do not include unfinished translations -removeidentical If the translated text is the same as the source text, do not include the message -markuntranslated <prefix> If a message has no real translation, use the source text prefixed with the given string instead -silent Do not explain what is being done -version Display the version of lrelease and exit rsync: change_dir "/home/michael/nymea-plugin-test/translations" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2] Makefile:303: recipe for target 'lrelease' failed make: *** [lrelease] Error 23
My workaround was to create manually an empty ts file.
Is there a smarter way?