V
V
Vyacheslav Mezentsev2016-01-25 14:58:01
Qt
Vyacheslav Mezentsev, 2016-01-25 14:58:01

How to build Qt under Windows Embedded Compact 7 in VS2008?

There is an operator panel (device) with Windows Embedded Compact 7 on board. It would be desirable to use Qt for development of the interface. On the Internet they write about building Qt for WM6, but those instructions with archives are not suitable for my configuration. I tried qt-embedded-wince-opensource-src-4.5.3.zip but there is no build option for WEC7 (nmake crashes). With older versions, it is generally not clear how to work and what archives to take.
On my machine: Windows 7 x64 Ultimate, VS2008 + Platform Builder for Windows Embedded Compact 7. Programs in C/C++ or C# (.Net 3.5) are great, but I need speed and cross-platform.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Mezentsev, 2016-01-27
@ViacheslavMezentsev

Used the qt-everywhere-opensource-src-4.8.6.zip version for both Windows 7 and WEC7. The pre-build configuration depends on the SDK shipped with the device. I got it with this command:
Then I manually set the paths (they also depend on the SDK):

set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include;C:\Program Files (x86)\Windows CE Tools\SDKs\Wince7SDK\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\Wince7SDK\Lib\ARMv4I

set PATH=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;%PATH%

Next nmake. The whole process takes about 1 hour depending on the parts to be assembled.
The problems didn't end there. VS2008 (Qt Add-in) didn't see the SDK I built Qt with. How to force the studio is not clear. A similar problem is walking around the network and no one has brought clarity there yet (in the search engine: Visual Studio Add-In 1.2.4 does not recognize the installed SDK). Since you can not pick up the assembly, then the project cannot be created by the wizard.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question