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

Qt Creator project tree adds erroneous nodes

    XMLWordPrintable

Details

    • 892066cfa664c0e8ec1f970648a5ec3f1fdd89f5 65f8e1b977ece3e2263f7709e1c0e5d87932d9d7 2159fc21f80943c852a1f6a386b52590888d26c1

    Description

      Every node that is created as a result of a Group's name property also contains a node for the QBS file containing it. This results in a single QBS file potentially being added to the project tree many times. Each QBS file should only appear once in the entire tree.

      Also, all file nodes appear to be contained by a node containing the full path to the folder containing those files. This node should not exist; the files should be contained directly by the folder node representing their Group, or, if they are not in a group, the folder node representing their Product.

      Files that are not in a group also get put inside a folder node with the same name as the product which is already contained in the node representing the Product. Eliminate the extra level of indirection (it's conceptually inaccurate anyways).

      This is easier to show graphically, see the attached screenshot. Based on it, I would expect to have seen:

      • silvercore (the project node, this is cropped out of the screenshot)
        • silvercore.qbs
        • Cryptography
          • AbstractCryptographyEngine.cpp
          • AbstractCryptographyEngine.h
          • ...
          • KeyGenerator.h
        • Cryptography Engines
        • ...
        • Objective-C API

      Attachments

        For Gerrit Dashboard: QBS-257
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes