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

Crash of QML-Designer if import statement contains dots

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.0.0
    • Quick Designer
    • None
    • Windows7, Qt 5.2.0
      Linux, Qt 5.2.0

      using import statements which contain dots (like import "./Controls" ) causes a crash of QtCreator when adding "QML Component" by dragging in QM-Designer

      How to reproduce:
      1) open attached project
      2) open file BugQMLDesigner.qml in QtCreator
      3) switch to Design
      4) try to add another "MyButton" from QML Components
      -> crash

      using just import "Controls" in BugQMLDesigner.qml works.
      Of course in this example there is no need for import "./Controls"
      I simplified a complexer example where I needed import "../Controls" and observed that crash relates to the dots
      Crash happens under Windows and Linux

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

            thohartm Thomas Hartmann
            work7 Siebenhandl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes