Unsolved QtSerialPort error when compile for FriendlyARM.
-
Hi. I want to use qtserialport in my project to read data from RFID module to read card data. when I compile my app in desktop,all of things worked, but when I changed the compiler for friendly arm ( tiny6410) the qt display this error : error: QtSerialPort/QSerialPortInfo: No such file or directory. how can I add qtserialport libs to friendlyARM?
-
Hi,
Did you cross-compile Qt ? What version are you using ?
-
yes, I used qt-4.8.3 and arm-linux-gcc 4.5.1. these version of qt are in my board CD. (my board is tiny6410) and I crosscompile QT. all my project worked, but when I want to work with serial port it does not work. serial port work for desktop,but not recognized for ARM
-
Qt 4 doesn't have the QtSerialPort module, it was created later. What you can do is clone the module from code.qt.io, checkout the qt4-dev branch and build it using your Qt 4.8.3
-
thanks @SGaist