Lupdate and qmake project file
I have a rather simple Qt Quick project written in QML, I can run lupdate main.qml -ts whatever_sk.ts to produce create the correct ts file. But if I run lupdate on my .pro file (I added TRANSLATION = whatever_sk.ts) the in this case lupdate won't find the main.qml file so I receive the following:
Found 0 source text(s) (0 new and 0 already existing)
Any ideas why lupdate can not find the main.qml source file?
as indicated by Volker. Thanks!
I have no idea ...
But you could create a .pri file with all the sources and include it in the .pro file. And after use the .pri file to generate the translation.
"QTBUG-14056":https://bugreports.qt.nokia.com//browse/QTBUG-14056 has a workaround. It's a known problem, but without a good solution, tough.