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

add include statement for .js files

    XMLWordPrintable

Details

    • 0f76f56e9f4f11b118c10cfcad1f21bf2e80f759 a6e78bdebcacbe823114ffa03999c5bf1c28242f 91a320551cae7925308d84395a52dfdd617b4110

    Description

      JavaScript files need an include statement/function to avoid the following pattern:

      ---stuff.js---
      function doStuff()
      {
          FileInfo.fileName(someAbsolutePath);
      }
      
      ---myapp.qbs---
      import qbs.fileinfo as FileInfo    // needed for stuff.js
      import "stuff.js" as Stuff
      

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes