[Qt-creator] CONFIG variables not as expected
André Hartmann
andre.hartmann at iseg-hv.de
Thu Jan 2 09:41:13 CET 2020
Hi again Bob,
> Anyway, my remaining question is whether there is a straightforward
> way to detect in the .pro file which Microsoft compiler is being used?
> It used to be easy.
So you are saying, there is a regression in Qt 5.14 and you cannot
detect the MSVC compiler anymore? Then please report that with a minimal
reproducing example at bugreports.qt.io (and provide a link here so
others can follow).
Thanks and regards,
André
Am 02.01.20 um 09:01 schrieb Bob Babcock:
> =?UTF-8?Q?Andr=c3=a9_Hartmann?= <andre.hartmann at iseg-hv.de> wrote in
> news:c499ad3a-900e-da5a-aec4-19768014aca6 at iseg-hv.de:
>
>> In your first mail you talked about MinGW, now MSVC, so I still don't
>> get the full picture of your problem. You will need to provide some
>> more information.
>
> I build with both, but don't mix them. The MinGW part of my questions was
> answered by your previous post. I'm mostly a windows guy, but I have
> written code that works in both Windows and Linux.
>
>> For C++ libraries, that's correct, you cannot mix MinGW and MSVC. For
>> libraries with pure C interface, it does not matter.
>> Note that MSVC2015 and 2017 are binary compatible, so you can exchange
>> libs.
>
> I guess I knew that, but somehow it just feels wrong. From a quick search,
> looks like 2019, which I haven't touched yet, is also binary compatible.
> Are they also compatible when you consider compilation flags, new C++
> feature support, and bugs to work around? Those are some reasons why you
> might want to detect which MSVC compiler is being used.
>
> Anyway, my remaining question is whether there is a straightforward way to
> detect in the .pro file which Microsoft compiler is being used? It used to
> be easy.
>
> Thanks.
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator
>
More information about the Qt-creator
mailing list