PDA

View Full Version : wince project doesn't work on wince, but works on win mobile



thedimitrius
29th March 2010, 11:39
Hi everyone!
I've got a device with windows ce version 5.00 build 1400. The processor is Samsung ARM920T-S3C2440A.
I've installed MS Visual Studio 2008, then windows ce 5.0 sdk.
I've downloaded Qt libraries for Windows CE. Then I've made (from visual studio command line)
configure -platform win32-msvc2008 -xplatform wince50standard-armv4i-msvc2008
setcepaths wince50standard-armv4i-msvc2008
nmake
Then I've created a "hello world" project using QT Creator. Then from commandline in project's directory I've issued
qmake -tp vc
and a vcproj was created.
I compiled it under visual studio, with no errors and 3 warning (redeclaration of ARM define). The file demo.exe was copied to the device together with qtcore4.dll, qtgui4.dll, msvcr90.dll.
Now the project works perfectly on Windows Mobile 6.1, and doesn't even start on Win CE, telling me that "demo is not a windows ce application".
When did I go wrong?

thedimitrius
29th March 2010, 12:01
update- the project doesn't start on win mobile 6.1 emulator