Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
2.0.1
-
None
-
Windows 10 64Bit, Visual Studio 2019
-
-
f204d9828 (2.1)
Description
I have tried the qbs profile configuration with latest QtCreator and for Qt projects, it rejects with errors:
:-1: warning: The following properties have invalid values: Qt.core.qtBuildVariant: is 'debug', but qbs.buildVariant is 'profiling', which is not allowed when using MSVC
I don't know how other toolchains work or qbs profiling build variant works, but at least with MSVC, in order to run Visual Studio profiler, I have always been using release configuration with `qbs.debugInformation: true` option and it always works.
As a matter of fact, I have confirmed that the build command for `qbs.defaultBuildVariant:profiling` is exactly same with `qbs.defaultBuildVariant:release qbs.debugInformation:true` for non-Qt applications.
Attachments
For Gerrit Dashboard: QBS-1758 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
503701,2 | Qt support: Fix selection of Qt build variant | 2.1 | qbs/qbs | Status: MERGED | +2 | -1 |