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

Product disappeared from "Qbs files\qbs\imports" project tree view

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 1.9.0, 1.9.1
    • Fix Version/s: None
    • Component/s: Qt Creator Integration
    • Labels:
      None
    • Environment:
      * Windows 10 x64
       * QtC 4.4.1 && QBS 1.9.1
       * Qt 5.9.2

      Description

      I have a project, where I use the MyApplication.qbs item, which is base for all applications products. When I add there a second Group item, then this MyApplication.qbs disappeared from the QtC project tree (please see an screenshoots and test application).

      == MyProduct.qbs ==

      import qbs
      
      Product {
          Depends { name: "cpp" }
          cpp.visibility: "minimal"
          cpp.cxxLanguageVersion: "c++14"
          cpp.defines: base.concat(
              "QT_NO_CAST_TO_ASCII",
              "QT_NO_CAST_FROM_ASCII",
              "QT_STRICT_ITERATORS"
          )
          targetName: name + (qbs.debugInformation ? "d" : "")
      }
      

      == MyApplication.qbs ==

      import qbs
      
      MyProduct {
          type: [ "application" ]
          consoleApplication: qbs.debugInformation
          Group {
              fileTagsFilter: product.type
              qbs.install: true
          }
      
      // TRY TO UNCOMMENT THIS GROUP AND WATCH FOR THE PROJECT TREE
      // WHERE THE MyApplication.qbs ITEM WILL BE DISAPPEARED!!!
      //    Group {
      //
      //    }
      }
      

       

       

        Attachments

        1. item-not-present.png
          item-not-present.png
          48 kB
        2. item-present.png
          item-present.png
          48 kB
        3. qbsbug1211.zip
          3 kB

          Issue Links

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

            Activity

              People

              Assignee:
              kandeler Christian Kandeler
              Reporter:
              kuzulis Denis Shienkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes