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:
void myTestFunction()
{
}
};
}
namespace myProgram
{
class myClass : public QDialog, protected UI::myDialog
{
public:
myClass(QWidget* parent=0);
void myTestFunction()
{
QMessageBox::information(this, "", tr("Hello World"));
}
};
}
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"
Bookmarks