high_flyer:

No , the program crashes in the first line itself. i mean :

m_note= new QextSerialPort("/dev/ttyS0");

I had only this line in my constructor ( as i had posted in the above post). i did not have any other line.