mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-24 05:25:37 +00:00
242874e705
It uses lupdate directly. Qt's `qt_add_lupdate()` cmake function doesn't help much. First of all it is Qt6 only. Secondly, our project is split into multiple targets but we need all strings into a single .ts file per language. Thirdly, it looks like it will skip source files that are added conditionally into the build via cmake condition checking (eg DBUS source files). We need to gather all strings present in the source files regardless of the build configuration. On another note, this is a step towards reducing dependency on qmake/autoconf.