hi guys,
i'm working on a program in this i have ui form.
on the form i have created 9 app icons using list widget.
now i want to create a public slot in class QMainWindow
but when i wite the prototype of slot and build the project it gives me error
public slot:
void procFinished();
undefined reference to `MainWindow::procFinished()'
error: collect2: ld returned 1 exit status
Code:
Q_OBJECT public: ~MainWindow(); public slots: void procFinished(); protected: void showDate(); void showTime(); private: void run(const char* cmd); Ui::MainWindow *ui; QProcess *proc; private slots: void on_pushButton_clicked(); };
can anybody help me?
note: i'm using Qt Creator 1.3.1 based on Qt 4.6.2