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

"Add files" only works for trivial projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 1.3.0
    • 1.3.0
    • Qt Creator Integration
    • None
    • 853497fb4b4c140cd05f529aac23a3b0fadbc02c

      There is this line in QbsProductNode::addFiles() (the same applies to QbsGroupNode):

          if (!prjNode || !prjNode->qbsProject().isValid()) {
              // error handling
      

      For projects like qbs or Qt Creator, the second condition always seems to be true, so no file can ever be added. For some reason, the node cannot find a valid qbs project, even though there must be one, since the project tree is displayed correctly and building works as well.

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

            kandeler Christian Kandeler
            kandeler Christian Kandeler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes