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

Linking plug-ins to a static application

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 1.7.2
    • 1.7.0
    • Documentation
    • None
    • Windows 7 x64

    • daba88c2c7c11fc7d58336afd7f045ea3ed02a3f

    Description

      Line 15 in http://code.qt.io/cgit/qt-labs/qbs.git/tree/src/lib/qtprofilesetup/templates/QtPlugin.qbs produces:
      ReferenceError: Can't find variable: parent
      at <eval>() in C:\Users\user23486\AppData\Roaming\QtProject\qtcreator\qbs\1.6.0\profiles\qtc_Qt_5_7_0_c275ce67\modules\Qt\QtPlugin.qbs:15
      C:\Users\user23486\AppData\Roaming\QtProject\qtcreator\qbs\1.6.0\profiles\qtc_Qt_5_7_0_c275ce67\modules\Qt\QtPlugin.qbs:14:23 Artifact.filePath

      Changing line 15 to:
      + product.moduleProperty(product.moduleName, "qtModuleName") + ".cpp"
      fixed this error for me

      -----------------------------------------------------------------------------------------------
      Documentation for linking Plug-Ins to static applications needs to written.
      -----------------------------------------------------------------------------------------------

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            user23486 Serkan Zeybek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Gerrit Reviews

                  There are no open Gerrit changes