I know it's nitpicker, but: Ui::GameView *m_ui; -> Ui::GameView* m_ui;