Hello,

I've created a dialog with the designer and put the derived class into a namespace. "lupdate" does not recognize this Does anyone know a solution for that?

Qt Code:
  1. namespace myProgram
  2. {
  3. class myClass : public QDialog, protected UI::myDialog
  4. {
  5. public:
  6. myClass(QWidget* parent=0);
  7.  
  8. void myTestFunction()
  9. {
  10. QMessageBox::information(this, "", tr("Hello World"));
  11. }
  12. };
  13. }
To copy to clipboard, switch view to plain text mode 

"lupdate" generates the translation context for "myClass" but the tr("Hello World") will translate in "myProgram::myClass"