Solved main.cpp error
-
What can be wrong? I haven't even changed it!
-
Probably the magic of includes. The problem is likely in
mainwindow.h
. Maybe missing;
at the end of class declaration or unbalanced{}
. -
-
I'm also trying to add Dialog, quite probably incorrectly.
-
-
What should I change to correctly implement Dialog?
-
Header seems ok, but it includes
board.h
andgame.h
. Look in those.Yes, the way you're adding the dialog is wrong. It won't even compile like that. But let's not mix issues. Start a new topic for the dialog.
-
Thank You!
There was indeed a missing "}" in game.h!