Qt 4.8.5 QSerialPort Wince6 arm
-
Hi everybody,
i'm trying to use QSerialPort on a wince6 project.
I'm using Qt 4.8.5I downloaded QSerialPort and compiled it (qmake,nmake and nmake install) but when i try to compile the sample project that use QSerialPort it gives me :
@Error 1 error LNK2019: external symbol reference "__declspec(dllimport) public: virtual __cdecl QSerialPort::~QSerialPort(void)" (_imp??1QSerialPort@@UAA@XZ) unresolved in function __unwind$26661 main.obj
Error 2 error LNK2019: external symbol reference "__declspec(dllimport) public: virtual void __cdecl QSerialPort::close(void)" (_imp?close@QSerialPort@@UAAXXZ) unresolved in functio __unwind$26661 main.obj @
and so on
How can i solve this problem?
Thanks
-
Hi.
QtSerialPort wasn't tested in a proper way on WinCE. WinCE has an lowest priority for us, because we have not a appropriate hardware and so on.
bq. I downloaded QSerialPort and compiled it (qmake,nmake and nmake install) but when i try to compile the sample project that use QSerialPort it gives me :
After that it is necessary to include QtSerialPort module in your project file:
[code]
CONFIG += serialport
[/code]bq. Anothe question is..why i have only QtSerialPortd.dll? It is not the debug dll?
It is an Debug dll. To build the Release need do:
[code]
qmake path/to/qtserialport.pro GONFIG+=release
nmake
[/code]