Quote Originally Posted by jpn
Use a static method QObject::tr() or QCoreApplication::translate() on line 33.

PS. Use code blocks around your code to make it more readable.
Thanks but it is not working, the compiler report the same message.
Qt Code:
  1. QPushButton *quit = new QPushButton(QObject::tr("Quit"), this);
To copy to clipboard, switch view to plain text mode