Re: No Such Slot

Originally Posted by
Geoffry31
Should I perhaps try changing the MainMenu::<slot> thngies from MainMenu.cpp to QMainWindow?
No, that is not your code to modify (at your skill level)
Your problem is that you have got a VARIABLE called MainMenu, that is actually a QMainWindow, and you are trying to treat it like an instance of MainMenu. Oops!
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
Bookmarks