View Single Post
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#28
class MainWindow : public QMainWindow;

remove the semicolon from the end of the line, you put a semicolon only when you finish a definition or statement, here the class definition isnt over.
Put the semi-colon at the end of the mainwindow.h after the last curly brace marking the end of the class definition.
__________________
Developer of :
Buddy - budget/expense manager ( website )
Showtime - a telly channel listing viewer/reminder ( website )
Travelapp - london underground status/planner ( website )
Batlevel - desktop widget for battery level ( website )

“I hear and I forget. I see and I remember. I do and I understand.”

Last edited by krk969; 2010-04-05 at 20:24.