I've been trying to do a shadow build of 4.7 (and 4.6.3) from the mobile 6 ARM SDK from Microsoft using VS2008 Pro and Windows Mobile 6 Professional SDK Refresh.msi. We've been using this SDK for an MFC application but we'd like to evaluate Qt.
When I try the shadow build, setting up the INCLUDE, LIB and PATH to point at the SDK I get errors like:
tools\qbytearray.cpp(137) : error C3861: 'strcpy_s': identifier not found
C:\Program Files (x86)\Windows Mobile 6 SDK\PocketPC\Include\Armv4i\types.h(59)
: error C2143: syntax error : missing ';' before '*'
My question: Is it possible to build Qt using only the mobile 6 SDK or do I have to have the OS guys build an SDK for our CE image? Or am I doing something wrong with the build?
Here is the buid setup:
set PATH=%PATH%;C:\Perl\bin
set QTDIR=C:\Qt\Qt.4.7.0.VS9
set PATH=%PATH%;C:\Qt\Qt.4.7.0.VS9\bin;c:\qt\Qt.4.7.0. ce6\bin
C:\Qt\Qt.4.7.0.VS9\configure -opensource -platform win32-msvc2008 -xplatform wincewm65professional-msvc2008 -nomake examples -nomake demos -stl -shared -webkit -qt-libtiff -qt-libpng -qt-libjpeg -qt-zlib -no-qt3support -opengl-es-cm -exceptions > config.log
set INCLUDE=C:\Program Files (x86)\Windows Mobile 6 SDK\PocketPC\Include\Armv4i
set LIB=C:\Program Files (x86)\Windows Mobile 6 SDK\PocketPC\Lib\Armv4i
set INCLUDE=%INCLUDE%;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include
set INCLUDE=%INCLUDE%;C:\Qt\ogles-bin-1.0.0\include
set LIB=%LIB%;C:\Qt\ogles-bin-1.0.0\bin\arm\Release
set PATH=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;%PATH%
nmake
Bookmarks