Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13400

[REG 3.2.2 -> 3.3.0] qbs does not get profile when opening qtcreator.qbs in Creator

    XMLWordPrintable

    Details

    • Commits:
      4e932d6b07ac53a4a28e59b1c57f7d057bf40f3d

      Description

      1. Start Creator with clean settings.
      2. Make sure that there's a valid default kit.
      3. Open qtcreator.qbs from a checkout of Creator's repository at revision "v3.2.0".
        Creator will not fully populate a project tree. Instead it will write the following error message to "Issues" view:
        C:\Users\rob\dev\bin\creator-3.3-5.3.2\share\qtcreator\qbs\share\qbs\modules\qbs\common.qbs:275: error: The following properties are not set. Set them in your profile:
        qbs.architecture: you might want to re-run 'qbs-setup-toolchains'
        The following properties have invalid values:
        qbs.architecture: 'undefined' is invalid. You must use the canonical name 'undefined'
        
      4. Go to Projects mode, Build settings for the current kit.
      5. Check the contents of "Build Steps" -> "Equivalent command line".
        For me, it's:
        qbs build --settings-dir D:\Testprojekte\12342134fsd2\QtProject\qtcreator --jobs 8 debug profile:
        

        Shouldn't there be a profile passed as a parameter?

      Creator should be able to parse this project. This worked correctly in Creator 3.2 where "profile" was set to "qtc_Desktop".

      Found and tested by Squish test tst_opencreator_qbs.

        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:
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes