Hello,

in my app i have translation files. I added them to the qrc-file because i
want to load the translations from resource:

        <file>app-de_DE.qm</file>
        <file>app-en_US.qm</file>

They are are generated from *.ts files. In *.pro i added

        CONFIG += lrelease
        TRANSLATIONS = app-de_DE.ts \
                       app-en_US.ts

The problem is when i build the app it breaks at compiling the qrc-file:
  make: *** No rule to make target '../app/app-de_DE.qm', needed by
'qrc_app.cpp'.  Stop.

I think that the lrelease step comes too late.

So the question is how to overcome this ?
For example executing lrelease earlier - maybe at first - at make run. How i
have to modify the *.pro file ?

kind regards
  Petric



_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to