[Interest] QtQuickCompiler interfer with lupdate

Jérôme Godbout godboutj at amotus.ca
Tue Jan 15 23:04:38 CET 2019


Hi,

Using Qt 5.12.0. This is under Linux.

I have some internationalization in my project. I made my .pri to add the .qml files and manages the required languages and files. This is all working with the external tools / linguistic. If I have the following line to my .pro
CONFIG += qtquickcompiler
it stop working. lupdate doesn't found anything. Is there something special to do when doing this or should I disable the line with lupdate_only  or lrelease_only into my .pro file? Why using the qtquickcompiler disable the lupdate parsing. Launching the lupdate command  from command line also reproduce the problem.

commenting the compiler make it work again and the lupdate see everything again.

It took me 3h to figure that out, by making an example project and injecting all the diff slowly to find this. If this is wanted maybe an error should be displayed. If it need something else is required, maybe print a warning.

Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190115/a8d7d918/attachment.html>


More information about the Interest mailing list