Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45418

createQmlObject crashes if filepath is set to something that has colon but is not known protocol

XMLWordPrintable

    • 164af37710e5721cbc7d79a0af20f2387181c59c

      Following code reproduces this issue in about 90% of cases:

      Qt.createQmlObject('import QtQuick 2.4; Rectangle {}', top, 'nonprotocol:');
      

      Occasional warnings:

      qrc:/main.qml:11: Error: Qt.createQmlObject(): Component is not ready
      

        1. qtbug45418_stack.txt
          6 kB
        2. qtbug45418.patch
          5 kB
        3. qtbug45418.tar.gz
          0.8 kB
        For Gerrit Dashboard: QTBUG-45418
        # Subject Branch Project Status CR V

            ulherman Ulf Hermann
            poikelin Joni Poikelin
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes