Re: [Development] QTBUG-42038 also happens with wec2013 arm imx6 device

2014-12-15 Thread Gunnar Roth

Done.

Gesendet:Montag, 15. Dezember 2014 um 00:09 Uhr
Von:Sergio Martins iamser...@gmail.com
An:development@qt-project.org, Gunnar Roth gunnar.r...@gmx.de
Betreff:Re: [Development] QTBUG-42038 also happens with wec2013 arm imx6 device



On Friday, December 12, 2014 17:47:16 Gunnar Roth wrote:

 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.



Hi,



Can you submit a patch and add your findings to the bug report ?



Regards,

Srgio Martins





___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] QTBUG-42038 also happens with wec2013 arm imx6 device

2014-12-15 Thread Sergio Martins
On Friday, December 12, 2014 17:47:16 Gunnar Roth wrote:
 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.

Hi,

Can you submit a patch and add your findings to the bug report ?

Regards,
Sérgio Martins
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] QTBUG-42038 also happens with wec2013 arm imx6 device

2014-12-12 Thread Gunnar Roth

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
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development