Using Qt Designer, I created a label containing a
It produced a .ui file containing:
and a .cpp file containing:
TextLabel2->setText( trUtf8( "testing\n"
"testing" ) );
That looked a bit strange to me, but my C++ is very
rusty. And it worked just fine.
Then I tried
puic -o Form1.pm form1.ui
which generated the same thing in Form1.pm:
and perl understandably choked.
With a single-line string, everything worked fine.
Log in to post a comment.