aboutAct = new QAction(QIcon(":/resources/icon.png"), tr("&About"), this); aboutAct->setStatusTip(tr("Show the application's About box")); aboutAct->setIconVisibleInMenu(true);