Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-2644

qmlobserver crash when adding element at runtime

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • Qt Creator 2.1.0
    • Linux 64

    Description

      Steps:

      • Open samegame
      • Start debugging
      • At the end of the 'toolBar' Rectangle, insert
        Rectangle {
          color: "red"
          anchors.fill: parent
        }
        
      • Save

      This crashes the observer with:

      ASSERT: "!url.isRelative() && (QDeclarativeEnginePrivate::urlToLocalFileOrQrc(url).isEmpty() || !QDir::isRelativePath(QDeclarativeEnginePrivate::urlToLocalFileOrQrc(url)))" in file /home/kamm/dev/qt/47/src/declarative/qml/qdeclarativetypeloader.cpp, line 661
      

      The only relevant message on the shell is

      Delta::operator():  insert  "Rectangle"  to  "Rectangle" 
      

      Attachments

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

        Activity

          People

            ajana Aurindam Jana
            ckamm Christian Kamm
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes