View Single Post
Posts: 23 | Thanked: 0 times | Joined on Dec 2009
#29
Originally Posted by krk969 View Post
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.
Did that, but now I get

C:/Users/Edvinas/Documents/InteractiveHelloWorld/mainwindow.h:26: error: extra qualification 'MainWindow::' on member 'initMyWordList'