[Qt-wince-interest] Qt 4.6 Windows CE 5.0 problems
Joerg Bornemann
joerg.bornemann at nokia.com
Mon Jan 18 18:20:30 CET 2010
ext Michael S wrote:
> I then used the Visual Studio to create a minimal Qt Windows CE Application. The program runs fine in the CE emulator, but once I try to
> deploy it on the device it crashes with the following message:
It may be, that you've run into a compiler bug.
You could try to apply this patch:
http://qt.gitorious.org/qt/qt/commit/8798b36880d1387d2d27f7fb35ccbf02af6232a0
or use Qt 4.6.1, when it has been released.
If that also doesn't work, then you can create release binaries with
debug information. I'd do that at least for the Qt modules core and gui.
To do this, edit the following files:
src\corelib\Makefile.Release
src\gui\Makefile.Release
in the CXXFLAGS line add the switch -Zi.
CXXFLAGS = -Zi -nologo -Zm200 ...
in the LFLAGS line, add the switch /DEBUG
LFLAGS = /DEBUG /LIBPATH: ...
Now recompile the modules, you've changed the makefiles for.
*start Visual Studio command prompt
setcepaths <my-mkspec>
cd src\corelib
nmake -f Makefile.Release clean all
cd ..\..\src\corelib
nmake -f Makefile.Release clean all
Now you should be able to get a stack trace for a crash.
--
Joerg Bornemann
Software Engineer
Nokia, Qt Development Frameworks
More information about the Qt-wince-interest
mailing list