gri
30th March 2007, 09:31
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?
namespace myProgram
{
class myClass : public QDialog, protected UI::myDialog
{
public:
myClass(QWidget* parent=0);
void myTestFunction()
{
QMessageBox::information(this, "", tr("Hello World"));
}
};
}
"lupdate" generates the translation context for "myClass" but the tr("Hello World") will translate in "myProgram::myClass" :(
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?
namespace myProgram
{
class myClass : public QDialog, protected UI::myDialog
{
public:
myClass(QWidget* parent=0);
void myTestFunction()
{
QMessageBox::information(this, "", tr("Hello World"));
}
};
}
"lupdate" generates the translation context for "myClass" but the tr("Hello World") will translate in "myProgram::myClass" :(