What shell do you use?
What shell do you use?
So you're not using MSYS... Ok... Could you show us the contents of your .pro file?
Qt Code:
# Use application template TEMPLATE = app win32 { LIBS += -lshell32 \ -ladvapi32 } include(project.pri) RESOURCES = project.qrc RC_FILE = project.rc # The language files which translate the application TRANSLATIONS = language/project_de.ts \ # German language/project_en.ts \ # English language/project_it.ts \ # Italian language/project_fr.ts \ # French language/project_sp.ts # Spanish QTPLUGIN += qjpeg # Qt libs QT += network \ # Add networking support xmlTo copy to clipboard, switch view to plain text mode
When I switch the order of languages in the TRANSLATIONS line everytime only the first one gets parsed and the second one fails with that stupid message above![]()
What if you remove the comments after "\"? I think they are the ones breaking your .pro file. I think "\" should be the last character in the line if it is to mean to continue reading the next line.
Another thing to try is to put all filenames in one line.
This could be a bug in lupdate but this could also be some kind of a fix. See if any of the above mentioned solutions work. Then you can report the issue to Trolltech asking about the correct behaviour.
I already tried putting them all in one line yesterday ... this changes nothing![]()
Is the behaviour identical if you create an new .pro file containing only TRANSLATIONS lines?
No.
Qt Code:
TRANSLATIONS = test_de.ts \ test_en.tsTo copy to clipboard, switch view to plain text mode
Qt Code:
C:\test>lupdate test.pro Updating 'test_de.ts'... Found 0 source texts (0 new and 0 already existing) Updating 'test_en.ts'... Found 0 source texts (0 new and 0 already existing)To copy to clipboard, switch view to plain text mode
Ok, so this suggests something in the .pro file corrupts the behaviour of lupdate. Maybe some non-printable character or something like that?
Bookmarks