PDA

View Full Version : Problem with qextserialport on posix



bnilsson
13th June 2009, 16:12
When I try to use qextserialport on my xcode project by

port = new QextSerialPort(sPortText);I get this:


/Users/bnilsson/Documents/Programming/Active/Qt/PAMS/PAMS3017b1/src/qextserialbase.h:225: note: virtual qint64 QextSerialBase::bytesAvailable() const
/Users/bnilsson/Documents/Programming/Active/Qt/PAMS/PAMS3017b1/src/serialport.cpp:47: error: cannot allocate an object of abstract type 'QextSerialPort'
/Users/bnilsson/Documents/Programming/Active/Qt/PAMS/PAMS3017b1/src/qextserialport.h:17: note: because the following virtual functions are pure within 'QextSerialPort':
/Users/bnilsson/Documents/Programming/Active/Qt/PAMS/PAMS3017b1/src/qextserialbase.h:225: note: virtual qint64 QextSerialBase::bytesAvailable() const
Build failed (1 error)

It works fine on Win32.
When I look thru the source code, I cannot see any significant difference in the way it is implemented that would be causing this.
Suggestions, anyone?
If more info is required, I will be glad to post it.

BN