[Interest] Building Qt 5.9 with Visual Studio 2017 and C++14 support

Bob Hood bhood2 at comcast.net
Sun Feb 18 23:55:20 CET 2018


Is there some special trick to getting Qt 5.9.4 to build with Visual Studio 
2017 using C++14?

Running 'configure --help' reports

   -c++std <edition> .... Select C++ standard <edition> [c++1z/c++14/c++11]
                          (*Not supported with MSVC*)

So I can't use that option with Visual Studio 2017.  Visual Studio 2017 is 
supposed to provide C++14, but my buildis stating:

    ...
    Checking for C++14 support... no
    ...
    Using C++ standard ..................... C++11
    ...

I'm letting it use "the latest Windows 10 SDK" when configuring the build 
environment with VsDevCmd.bat.

My 'configure' line is:

    configure -opensource -confirm-license -prefix Q:\Qt\5.9.4\64_dll -mp 
-release -nomake examples -no-qml-debug -no-compile-examples -nomake tests 
-openssl-linked -I Q:\Qt\openssl_64_dll_102l\include -L 
Q:\Qt\openssl_64_dll_102l\lib -opengl desktop

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180218/7d30cca2/attachment.html>


More information about the Interest mailing list