Can't nmake for wince
-
download and unpack qt-everywhere to
C:\Qt\4.7.0_WM
okadd path C:\Qt\4.7.0_WM\bin to system path
okin MSVS 2008 Command Prompt run
configure -platform win32-msvc2008 -xplatform wincewm60professional-msvc2008 -opensource -fast -no-opengl
okrun
C:\Qt\4.7.0_WM>bin\checksdk -list
Available SDKs:
SDK Name: Pocket PC 2003 (ARMV4)
SDK Name: Smartphone 2003 (ARMV4)
SDK Name: Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
SDK Name: Windows Mobile 5.0 Smartphone SDK (ARMV4I)
SDK Name: Windows Mobile 6 Professional SDK (ARMV4I)
SDK Name: Windows Mobile 6 Standard SDK (ARMV4I)bin\checksdk -sdk "Windows Mobile 6 Professional SDK (ARMV4I)" -script wm6.cmd
okrun
wm6.cmd
okrun
nmakeand see result
qtmain_win.cpp
c:\qt\4.7.0_wm\include\qtcore../../src/corelib/global/qt_windows.h(66) : fatal error C1083: Cannot open include file: 'ceconfig.h': No such file or directorywhat's wrong?
-
solved like that
wm6.cmd contents
set PATH=F:\Program Files\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;F:\Program Files\Microsoft Visual Studio 9.0\VC\bin;$(WindowsSdkDir)\bin;F:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;F:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;F:\Program Files\Microsoft Visual Studio 9.0\Common\Tools;F:\Program Files\Microsoft Visual Studio 9.0\Common\IDE;F:\Program Files\Microsoft Visual Studio 9.0;$(FrameworkSDKDir)Bin;%PATH%
set INCLUDE=F:\Program Files\Microsoft Visual Studio 9.0\VC\ce\include;F:\Program Files\Windows Mobile 6 SDK\PocketPC\include\ARMV4I;F:\Program Files\Windows Mobile 6 SDK\PocketPC\include;F:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include;F:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SQL Server\Mobile\v3.0
set LIB=F:\Program Files\Windows Mobile 6 SDK\PocketPC\lib\ARMV4I;F:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\lib\ARMV4I;F:\Program Files\Microsoft Visual Studio 9.0\VC\ce\lib\ARMV4Iand these sets not apply by start wm6.cmd, set vars were old values.
I made these sets by hands, copy-past SET,PATH,INCLUDE to command promt and run.
after that nmake runs... to building!!!that's FAQ! :)