[Qt-interest] Qt 4.5.0 QTextEdit bug?

Deepak Chandran dchandran1 at yahoo.com
Tue Mar 17 08:21:04 CET 2009


I just upgraded to Qt 4.5.0 from Qt 4.4.3 and my program gets stuck at the following line:

textEditor->setPlainText(tr("#inlcude \"api.h\"\n\int main()\n{\n\n  return 1; \n}\n;"));

if I change the line to 

textEditor->setPlainText(tr(" hello "));

then everything works fine!

textEditor is an instance of class that inherits from QTextEdit

Sounds like a bug...or no?



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090317/fc892487/attachment.html 


More information about the Qt-interest-old mailing list