Hello,
as i am working with qt on wec2013 on an imx6 device, i tried the latest qt 5.4 
and got a crash in my app at startup.
After doing some debugging , i found i was hit by QTBUG-42038 [Reg 5.3->5.4] 
Windows Phone ARM crashes in release mode when loading an image

As wec2013 is using nearly the same vs2012 arm compiler as winrt when vs2012 is 
used, this is no wonder actually.

I fix it by using 
#if defined(_M_ARM) // QTBUG-42038 , only talks about winrt but this also 
happens at least on wec2013 arm devices too, maybe even on ce 6/7.
#pragma optimize("", off)
#endif

instead of 

#if defined(Q_OS_WINRT) && defined(_M_ARM) // QTBUG-42038
#pragma optimize("", off)
#endif


Maybe this helps anyone.


Regards,
Gunnar
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to