main.cpp error
Solved
General and Desktop
-
wrote on 19 Apr 2018, 17:22 last edited by MFrost
-
Probably the magic of includes. The problem is likely in
mainwindow.h
. Maybe missing;
at the end of class declaration or unbalanced{}
. -
wrote on 19 Apr 2018, 17:29 last edited by
-
wrote on 19 Apr 2018, 17:31 last edited by
I'm also trying to add Dialog, quite probably incorrectly.
-
wrote on 19 Apr 2018, 17:31 last edited by
-
wrote on 19 Apr 2018, 17:35 last edited by
-
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.
-
wrote on 19 Apr 2018, 17:38 last edited by
Thank You!
There was indeed a missing "}" in game.h!
1/8