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

QtCreator only can compile in "release" mode on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.4.0
    • 1.3.3
    • Qt Creator Integration
    • I'm using Qt 5.4.1, QtCreator 3.3.1, and QBS 1.3.3, Microsoft Visual Studio 2010 x86 tools
    • 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

            kandeler Christian Kandeler
            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