[Development] Dropping VS 2012 in Qt 5.7

Andreas Holzammer andreas.holzammer at kdab.com
Thu Mar 3 10:06:35 CET 2016


Hi,

as Maintainer of the Windows Embedded Compact Platforms it makes sense
to look forward and agree with dropping the platform in favor to support
new features. Also Microsoft seems to abandon this platform, so Qt needs
todo the same for going forward. But we will still support 5.6 as LTS
Version with WEC7 and WEC2013.

I will have a look at those patches which went in 5.7.

The OpenSSL patch seems to be no release blocker for 5.6.0 as well as
the sqlite build problem can only be seen if -qt-sql-sqlite is getting
passed to configure. If nothing is specified, it defaults to plugin and
does not break the build.

The rest I will have a look.

Thank you

Andy


Am 01.03.2016 um 14:50 schrieb Gunnar Roth:
> 
> 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]
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
> 


-- 
Andreas Holzammer | andreas.holzammer at kdab.com | Senior Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4070 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160303/932189e1/attachment.bin>


More information about the Development mailing list