I'm working on Qt and adding slots to my Qt Gui application is giving out the following error.
symbol(s) not found for architecture x86_64.
when i comment out the slots
block everything seems fine.
public slots:
Is there some kind of bug in QtCreator or am I doing something wrong.
I'm using Qt Creator 2.5.2 based on Qt 4.8.3(64-Bit) on Mac Osx 10.8 (mountain lion)
Edit:
Here is my full class
#include <QMainWindow>
#include "qextserialport.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
Ui::MainWindow *ui;
QextSerialPort *port;
public slots:
void onDataAvailable();
};