Hey all, Ive created a menuBar for my widget, but i have this strange error with all items on menubar...
heres my code that creates the about item for the menubar.
QPopupMenu *help = new QPopupMenu( this );
help->insertItem( aboutIco, "About", this, SLOT(aboutMenuAction()));
QPopupMenu *help = new QPopupMenu( this );
help->insertItem( aboutIco, "About", this, SLOT(aboutMenuAction()));
To copy to clipboard, switch view to plain text mode
in my .h file ive included under public slots section
"virtual void aboutMenuAction();"
but when i build the project the output says
QObject::connect: No such
slot SlackpackWidget
::aboutMenuAction()
QObject::connect: No such slot SlackpackWidget::aboutMenuAction()
To copy to clipboard, switch view to plain text mode
duh.. this is strange!
can anyone plz help me?
Bookmarks