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

QtCreator only can compile in "release" mode on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.4.0
    • Component/s: Qt Creator Integration
    • Labels:
    • Environment:
      I'm using Qt 5.4.1, QtCreator 3.3.1, and QBS 1.3.3, Microsoft Visual Studio 2010 x86 tools
    • Commits:
      b9ab6b3f490ea44158b2746a7b18a45af503b912

      Description

      Using Qt Creator 3.3.1, I can't build my project in "debug" mode. Only release mode works.

      I get the following error when trying to build in debug in qt-creator:

      C:\Users\Administrator\AppData\Roaming\QtProject\qtcreator\qbs\profiles\qtc_Desktop\modules\Qt\core\core.qbs:275: error: The following properties have invalid values:
      Qt.core.qtBuildVariant: is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC

      When I print out the availableBuildVariants in qt creator it only shows "release". On the command line I get both "debug" and "release", even though I building with the same qt version.

      I can build and run my application in debug mode on the command line. This only happens on windows.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            vpicaver Philip Schuchardt
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes