Installing Qwt for Win CE
Hello,
I am trying to install Qwt on a Windows 7 host system under VS2008. Target system is a Tordadex Colibri running Windows CE 7.
The existing environment consists of VS2008, the Toradex SDK for CE7 and Qt 4.8.4 (from Toradex or self-built), works properly and everything runs fine. Qt is in the PATH.
I tried the following way to add Qwt to the existing setup:
- Extract Qwt to c:\qwt-6.1.0
- Start VS2008 and open command prompt
- Change dir to Qwt folder
- set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include;C:\Program Files (x86)\Windows CE Tools\SDKs\SDK2wince7\Include\Armv4i
- set LIB=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\lib\armv4i;C:\Program Files (x86)\Windows CE Tools\SDKs\SDK2wince7\Lib\ARMv4I
- set PATH=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;%PATH%
- qmake qwt.pro
- nmake
Here nmake fails with a fatal error: "LNK1112: module machine type 'X86' conflicts with target machine type 'THUMB'.
Adding the commands
- set OSVERSION=WCE700
- set TARGETCPU=ARMV4I
- set PLATFORM=wince70sdk2wince7-armv4i-msvc2008
- set machine=thumb
before the call of qmake doesn't change it.
I really don't know what the problem is, maybe QtDesigner.lib is used on the host and therefore conflicts with the target system setting?
Any help would be greatly appreciated.
Regards and merry X-mas,
vicacid.
Re: Installing Qwt for Win CE
Hello,
the desrciption of my problem is perhaps a little bit too specific.
Before I go on trying to get Qwt running on CE7, maybe somebody could tell me, if it's possible in general to use Qwt with Windows CE. Did anybody ever use it together?
If not I'll perhaps have to look somewehre else.
Thanks!
Re: Installing Qwt for Win CE
Obviously you are trying to cross compile Qwt and you run into a command, where libraries from the host and target system are mixed up.
To find out what is going on I recommend to remove "CONFIG += silent" from qwtbuilt.pri - to see the failing command - and then to check which one ihe offending lib is.
By the way: I would also disable "QWT_CONFIG += QwtDesigner" in qwtconfig.pri too: guess you don't plan to run the creator on the target.
Uwe
PS: Qwt is supposed to run on any platform, where Qt is running