I've successfully deployed my Qt Application on device (S60 5th),but I am troubled with the default menu.
I designed it using QMainWindow and used menuBar()->addAction(...)to set some interfaces to the menu.Consequently the menu items are within the default"OPTIONS" Menu("OPTIONS"left,"EXIT"right). As I wanna develop a Chinese version,what can help to translate "OPTIONS" to "选项"("options" in Chinese)?
I have used this to change both "OPTIONS" and "EXIT" to Chinese:
QAction* options = new QAction(tr("选项"), this);
QAction* exit = new QAction(tr("退出"), this);
But when I tried add new items to the leftkey menu,new problems came.
QMenu *menu = new QMenu(tr("文件"), this);
when I clicked "选项",the menu can not pop out.
NOTICE:the word "OPTIONS" are set by the system,and i cannot change that using the Qt Linguist.
THANKS for help from anybody.