[Development] Dropping VS 2012 in Qt 5.7

Gunnar Roth gunnar.roth at gmx.de
Tue Mar 1 14:50:57 CET 2016


Well so be it, goodbye Qt from wec2013 Users. 
But who takes care that changes for wec2013 in 5.7 and dev are merged back to 5.6.x?
 
I know at least of

configure: Fix (Open)SSL detection on WinCE (Merged)[https://codereview.qt-project.org/122437]    
https://codereview.qt-project.org/#/c/122437/

 
Fixing the SQLite3 build for WEC2013 again.
https://codereview.qt-project.org/#/c/115571/5
 
 


furthermore wec2013 x86 needs at least 2 patches to build.
1. a problem with the fake  OleInitialize and OleUninitialize in qtbase\src\plugins\platforms\windows\qplatformfunctions_wince.h, probably due to calling convention.
2. bitscan intrinsic
--- a\qtbase\src\corelib\tools\qsimd_p.h
+++ b\qtbase\src\corelib\tools\qsimd_p.h
@@ -430,11 +430,17 @@
 #define qCpuHasFeature(feature)     ((qCompilerCpuFeatures & (Q_UINT64_C(1) << CpuFeature ## feature)) \
                                      || (qCpuFeatures() & (Q_UINT64_C(1) << CpuFeature ## feature)))
 
 #ifdef Q_PROCESSOR_X86
 // Bit scan functions for x86
-#  if defined(Q_CC_MSVC) && !defined(Q_OS_WINCE)
+#  if defined(Q_CC_MSVC) 
+#if defined _WIN32_WCE && _WIN32_WCE < 0x800
+extern "C" unsigned char _BitScanForward(unsigned long* Index, unsigned long Mask);
+extern "C" unsigned char _BitScanReverse(unsigned long* Index, unsigned long Mask);
+#pragma intrinsic(_BitScanForward)
+#pragma intrinsic(_BitScanReverse)
+#endif
 // MSVC calls it _BitScanReverse and returns the carry flag, which we don't need
 static __forceinline unsigned long _bit_scan_reverse(uint val)
 {
     unsigned long result;
     _BitScanReverse(&result, val);




and all programs using native file dialogs simply crash, qmlscene.exe for example.

--- a\qtbase\src\plugins\platforms\windows\qwindowsintegration.cpp
+++ b\qtbase\src\plugins\platforms\windows\qwindowsintegration.cpp
@@ -173,6 +173,10 @@
 
 static inline unsigned parseOptions(const QStringList &paramList,
                                     int *tabletAbsoluteRange,
                                     QtWindows::ProcessDpiAwareness *dpiAwareness)
 {
+#if defined _WIN32_WCE && _WIN32_WCE >= 0x800
+    unsigned options = QWindowsIntegration::NoNativeDialogs;
+#else
     unsigned options = 0;
+#endif


a problem with spdy protocol occurs for me:
diff -r -U 5 -N -x '*.orig' -x '*.rej' -x '*.bak' -x .git -x doc -x tests -x examples a\qtbase\src\network\access/qspdyprotocolhandler.cpp b\qtbase\src\network\access/qspdyprotocolhandler.cpp
--- a\qtbase\src\network\access/qspdyprotocolhandler.cpp
+++ b\qtbase\src\network\access/qspdyprotocolhandler.cpp
@@ -31,5 +31,6 @@
 ** $QT_END_LICENSE$
 **
 ****************************************************************************/
 
 #include <private/qspdyprotocolhandler_p.h>
+#undef ZLIB_H // this makes qfunctions_wince.h line 201 stuff not break the build for wince


and a fix to allow to use sse2 ( and opensll):
--- a\qtbase\tools\configure\configureapp.cpp
+++ b\qtbase\tools\configure\configureapp.cpp
@@ -1698,20 +1698,10 @@
         dictionary[ "STYLE_WINDOWSVISTA" ]  = "no";
         dictionary[ "STYLE_FUSION" ]        = "no";
         dictionary[ "STYLE_WINDOWSCE" ]     = "yes";
         dictionary[ "STYLE_WINDOWSMOBILE" ] = "yes";
         dictionary[ "OPENGL" ]              = "no";
-        dictionary[ "SSL" ]                 = "no";
-        dictionary[ "OPENSSL" ]             = "no";
-        dictionary[ "RTTI" ]                = "no";
-        dictionary[ "SSE2" ]                = "no";
-        dictionary[ "SSE3" ]                = "no";
-        dictionary[ "SSSE3" ]               = "no";
-        dictionary[ "SSE4_1" ]              = "no";
-        dictionary[ "SSE4_2" ]              = "no";
-        dictionary[ "AVX" ]                 = "no";
-        dictionary[ "AVX2" ]                = "no";
         dictionary[ "CE_CRT" ]              = "yes";
         dictionary[ "LARGE_FILE" ]          = "no";
         dictionary[ "ANGLE" ]               = "no";
         dictionary[ "DYNAMICGL" ]           = "no";
         if (dictionary[ "XQMAKESPEC" ].startsWith("wincewm")) {



Regards,
Gunnar Roth


Gesendet: Dienstag, 01. März 2016 um 08:38 Uhr
Von: "Heikkinen Jani" <jani.heikkinen at theqtcompany.com>
An: "Thiago Macieira" <thiago.macieira at intel.com>, "development at qt-project.org" <development at qt-project.org>
Betreff: Re: [Development] Dropping VS 2012 in Qt 5.7
Done, please review

Br,
Jani

>>-----Original Message-----
>>From: Development [mailto:development-
>>bounces+jani.heikkinen=theqtcompany.com at qt-project.org] On Behalf Of
>>Thiago Macieira
>>Sent: 29. helmikuuta 2016 18:41
>>To: development at qt-project.org
>>Subject: Re: [Development] Dropping VS 2012 in Qt 5.7
>>
>>On segunda-feira, 29 de fevereiro de 2016 13:08:18 PST Heikkinen Jani wrote:
>>> Hi!
>>>
>>> It seems we need a decision for this now to be able to proceed with
>>> https://codereview.qt-project.org/#/c/149325/[https://codereview.qt-project.org/#/c/149325/]
>>
>>Hi Jani
>>
>>We have so far not got any objections. Assume it's going to be the case and
>>add it to the changelog.
>>
>>--
>>Thiago Macieira - thiago.macieira (AT) intel.com
>> Software Architect - Intel Open Source Technology Center
>>
>>_______________________________________________
>>Development mailing list
>>Development at qt-project.org
>>http://lists.qt-project.org/mailman/listinfo/development[http://lists.qt-project.org/mailman/listinfo/development]
_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development[http://lists.qt-project.org/mailman/listinfo/development]



More information about the Development mailing list