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

Newly created QML files in existing projects have static version numbers of imported modules (different from the project's).

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.10.0-beta2
    • Quick / QML Support
    • None
    • All

    Description

      When creating new QML files (File > New File Or Project > Qt > QML File (Qt Quick 2)), the default first line is "import QtQuick 2.0", which in most cases differs from the rest of the project.

      This easily leads to problems/irritations (if not manually corrected), and AFAIR even runtime issues when mixing module versions.

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            coderr Julian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes