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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 1.9.0, 1.9.1
    • Qt Creator Integration
    • None
    • * 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
          48 kB
          Denis Shienkov
        2. item-present.png
          48 kB
          Denis Shienkov
        3. qbsbug1211.zip
          3 kB
          Denis Shienkov

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes