[Interest] Error-const class QSerialPortInfo' has no member named 'serialNumber'

Thiago Macieira thiago.macieira at intel.com
Fri Jan 30 10:04:41 CET 2015


On Friday 30 January 2015 11:51:52 Nilesh Kokane wrote:
> Hi,
> 
> I tried to cross-compile terminal code (example )for arm and getting the
> error as : ‘const class QSerialPortInfo’has no member named ‘serialNumber’
> @ serialNumber = info.serialNumber(); but when the same code when compiled
> on native sys (linux ubuntu14.04)it doesn’t complains. Can anyone please
> point out where I'm wrong.

You didn't provide enough information.

My guess is that you're not compiling against QtSerialPort 5.3. That function 
was added in 5.3.0, so either you're compiling against an older version or 
against something completely different.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list