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

Julius Bullinger julius.bullinger at mvtec.com
Thu Nov 29 10:47:57 CET 2018


On 29.11.2018 10:13, Ivan Donchevskii wrote:
> ------------------------------------------------------------------------
> *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
>> Hi,
>> 
>> 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,
>> Julius

> Should be possible to do. "file a feature request in JIRA" - yes, 
> please. You can assign it to me, I think I touched this part the
> last time.
> 
> Also please specify what do you mean by "change the compatibilty in 
> our .pro file to MSVC2013".
> 
> 
> Kind regards,
> 
> Ivan

I filed QTCREATORBUG-21604. I cannot change the Assignee, so please feel 
free to assign yourself.

Thank you!





More information about the Qt-creator mailing list