[fix] Properly generate locale files with Qt5