Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1758

QBS profiling config with MSVC won't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 2.1.2
    • 2.0.1
    • Toolchains: Visual C++
    • None
    • Windows 10 64Bit, Visual Studio 2019
    • Windows
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            xylosper Byoung-young Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes