I'm using yocto 1.6 (daisy) generated sysroot and set up Qt5.3.1 for i.mx6. I've double checked that the environment required is well set and all the other codes of qt has been cross compiled and works on the board successfully. I've also conformed that yocto build has included the qtserialport libs.
I tried to cross-compile terminal code (Qt example ) 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.
Also,I had a look at qtserialportinfo.h file and I observed that when I compile for native system (on ubuntu 14.04)the member function QString serialNumber() is present in the class QSerialPortInfo.
And whenever I set the Qt kit to ARM board and see the header
file qtserialportinfo.h only *QString serialNumber()* member seems to be absent and all the other members are intact.
Can you please suggest how to fix this?
Nilesh