Hi friends ,
I wanted to send some random data which is generated from computer one and sent on serial port to computer two. I used Qextserialport for it. But there seems to be a problem. I get two linker error which i am not able to figure out what is wrong.

moc_rs232_receive.cpp
Linking...
rs232_receive.obj : error LNK2019: unresolved external symbol "public: __thiscall QextSerialPort::QextSerialPort(class QString const &,enum QextSerialBase::QueryMode)" (??0QextSerialPort@@QAE@ABVQString@@W4QueryMode@Qe xtSerialBase@@@Z) referenced in function "public: __thiscall RS232_Receive::RS232_Receive(class QWidget *,class QFlags<enum Qt::WindowType>)" (??0RS232_Receive@@QAE@PAVQWidget@@V?$QFlags@W4Win dowType@Qt@@@@@Z)
F:\Cofiguration Management\RS232_Receive\RS232_Receive\Debug\RS232 _Receive.exe : fatal error LNK1120: 1 unresolved externals
RS232_Receive - 2 error(s), 0 warning(s)
This is the cpp file.
#include "rs232_receive.h"
#include <qextserialport.h>
#include <QPushButton>


RS232_Receive::RS232_Receive(QWidget *parent, Qt::WFlags flags)
: QMainWindow(parent, flags)
{
ui.setupUi(this);
//modify the port settings on your own
port = new QextSerialPort("COM1");
port->setBaudRate(BAUD19200);
port->setFlowControl(FLOW_OFF);
port->setParity(PAR_NONE);
port->setDataBits(DATA_8);
port->setStopBits(STOP_2);
//set timeouts to 500 ms
port->setTimeout(500);

qDebug("isOpen : %d", port->isOpen());
}

RS232_Receive::~RS232_Receive()
{
delete port;
port = NULL;
}

void RS232_Receive:n_CloseportButton_clicked()
{
port->close();
qDebug("is open: %d", port->isOpen());
}

void RS232_Receive:n_openportButton_clicked()
{
port->open(QIODevice::ReadWrite | QIODevice::Unbuffered);
qDebug("is open: %d", port->isOpen());
}

void RS232_Receive:n_ReceivengportButton_clicked()
{
char buff[1024];
int numBytes;

numBytes = port->bytesAvailable();
if(numBytes > 1024)
numBytes = 1024;

int i = port->read(buff, numBytes);
if (i != -1)
buff[i] = '\0';
else
buff[0] = '\0';
QString msg = buff;

received_msg->append(msg);
received_msg->ensureCursorVisible();
qDebug("bytes available: %d", numBytes);
qDebug("received: %d", i);
}
I cross checked this program with the qextserialport example but i din find any thing wrong. I am not able to remove these errors.

Thank You