Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.5.2
-
None
-
b3f88e8629390a49d12fd7684e711280b7b2c7c2
Description
To reproduce this, create some C++ source file that contains a long tr( string that spans several lines and uses the \ to denote the line end.
e.g.
return tr( "some text\
more text");
You will receive something similar to the following:-
C:\32241\HelloWorldQtUic>lupdate HelloWorldQtUic.pro
Unknown feature http://qtsoftware.com/xml/features/report-whitespace-only-CharDa
ta
C:/32241/HelloWorldQtUic/main.cpp:10: Unterminated C++ string
C:/32241/HelloWorldQtUic/main.cpp:11: Unterminated C++ string
C:/32241/HelloWorldQtUic/main.cpp:10: Unbalanced parentheses in C++ code (or abu
se of the C++ preprocessor)
Updating 'HelloWorldQtUic_en.ts'...
Found 3 source text(s) (1 new and 2 already existing)
Similar-text heuristic provided 1 translation(s)
This was reproduced on 4.5.1 and 4.5.2 using Windows with VS2005