Qt 6.11 is out! See what's new in the release
blog
[Solved] Problem with lupdate.
General and Desktop
11
Posts
6
Posters
12.0k
Views
1
Watching
-
Seems to be a known problem:
"QTBUG-14825":http://bugreports.qt.nokia.com/browse/QTBUG-14825
http://www.qtcentre.org/archive/index.php/t-25907.html -
I get a similar error when a .ts file exists but is empty. It works again when I remove the empty file.
So you could try to remove persian.ts and try again.
-
I think lrelease should tell proper error instead of this error...
So I’d suggest you to submit a bug about that to Qt’s bug tracker.
-
Hi,
Add following lines in <project_name>.ts file :<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
</TS>It may resolve the problem of "Premature end of document".