QMetaObject::connectSlotsByName: No matching signal
I set a QT menu, which is automatically connected with action function on_actionOpen_triggered() . Later I want to pass a filename string to this function in order to call this function manually in a special condition. So I changed the function signature to on_actionOpen_triggered( const char *filename_in ) . After this change the program is running well, but there is a complain in terminal, QMetaObject::connectSlotsByName: No matching signal for on_actionOpen_triggered(const char*) I am wondering what happened, and how I can add arguments for this menu action functions. Thank you. Qt