[Qt-creator] CONFIG variables not as expected
André Hartmann
aha_1980 at gmx.de
Tue Dec 31 09:49:44 CET 2019
Hi Bob,
> I'm using Qt 5.14.0 and the bundled Creator 4.11.0 under Windows 7.
> In a new or previously existing project using qmake, I display the contents
> of CONFIG by message($$CONFIG) in the .pro file.
>
> For a msvc3015 project, I see win32-msvc2015 in the list values.
>
> For a msvc2017 project, I do not see win32-msvc2017 or anything similar.
>
> For a gcc project, I do not see debug_and_release like I do with msvc
> projects.
That's probably the outcome from QTBUG-78445, which resulted in QTBUG-80792
There is work ongoing to *allow* separate Qt debug builds again, but the
official release will (most likely) only contain release DLLs with
separate debug information.
> I can add CONFIG *= debug_and_release so I get debug and release build
> subdirectories
I'm actually doing the other way round, as I'm always shadow-building,
so the additional only complicate things.
> but detecting the compiler version is more awkward.
Why?
Best regards,
André
https://bugreports.qt.io/browse/QTBUG-78445
https://bugreports.qt.io/browse/QTBUG-80792
>
> _______________________________________________
> 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