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

Passing TextFile service variable to JavascriptCommand in qbs crashes Qt Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.5.2
    • 1.5.1
    • General
    • Centos 6.5, Qt Creator 4.0.0 built with gcc 4.9.1
      QBS that came with Creator
    • ca96dbd651e483b64581d86698b0fa1568880374

    Description

      Essentially, if you do stuff like this while doing a QBS build, qt creator will crash:

      var file = new TextFile(someFile, TextFile.ReadOnly)
      var cmd = new JavaScriptCommand();
      cmd.file = file;

      The console that launched creator has these lines pre crash:
      QVariant::load: unable to load type 39.
      QVariant::save: unable to save type 'QObject*' (type id: 39).

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            zekses Nikolai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes