View Single Post
Posts: 353 | Thanked: 263 times | Joined on Dec 2009 @ Finland
#15
Originally Posted by D-Iivil View Post
After doing these I get build issue described as:
no 'void MainWindow::hello()' member function declared in class 'MainWindow'
You need to add declaration to mainwindow.h
Code:
class MainWindow : .....
{
   // ....

   public slots:
      void hello();
   
  // ....
};
EDIT: And your connect seems to be now in wrong place, it's in the destructor (MainWindow::~MainWindow()) though it should be in constructor (MainWindow::MainWindow())
__________________
My Maemo5 projects:
mSpede - Speed testing game | Them Bloody Ducks - 2D duck hunting game | Maetronome - A simple metronome app | CuteMPC - MPD client