[Qt-creator] Change MSVC compatibility for clang-cl

Marco Bubke Marco.Bubke at qt.io
Thu Nov 29 10:35:29 CET 2018

HI Julius

It's always better to use JIRA. We maybe should add a tool chain for clang-cl but I am not an expert in this area. Lets discuss that in JIRA so it got not lost.

Best Marco

From: Qt-creator <qt-creator-bounces at lists.qt-project.org> on behalf of Julius Bullinger <julius.bullinger at mvtec.com>
Sent: Thursday, November 29, 2018 9:50:25 AM
To: qt-creator at qt-project.org
Subject: [Qt-creator] Change MSVC compatibility for clang-cl


is there a way to change the MSVC compatibility/ABI
(``-fms-compatibility``, see
https://clang.llvm.org/docs/MSVCCompatibility.html) for detected
clang-compilers in Creator?

clang-cl is autodetected as "MSVC2017" compatible and vcvarsall.bat from
VS2017 is called. But we change the compatibilty in our .pro file to
MSVC2013, so the wrong system headers are included.

For manually added clang (without -cl), the ABI can be set, but that is
not possible for clang-cl.

If not, should I file a feature request in JIRA?

Thanks and best regards,
Qt-creator mailing list
Qt-creator at lists.qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20181129/d6096921/attachment.html>

More information about the Qt-creator mailing list