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

Qt.core.pluginMetaData always stores values in JSON array

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 1.15.0
    • Fix Version/s: None
    • Component/s: API: JavaScript, General
    • Labels:
      None

      Description

      Suppose we use the example given in manual:

      Qt.core.pluginMetaData: ["uri=thePlugin"]
      

      The JSON that it produces would be:

      “uri” : [“thePlugin”]

      It should be this instead, without brackets:

      “uri” : “thePlugin”

      It appears that no matter what the value is, it is always put into array.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            clintwestwood Clint Westwood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes