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

QML import without version fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 4.13.2
    • Quick / QML Support
    • None
    • * Qt Online Installer 4.0 alpha
      * Qt Creator 4.13.2
      * Qt 6.0.0-beta.2
      * Qt 6.0.0 MinGW 64-bit
    • Windows

    Description

      Environment (installed via Qt Online Installer 4.0 alpha)

      • Qt Creator 4.13.2
      • Qt 6.0.0-beta.2
      • Qt 6.0.0 MinGW 64-bit

      Steps to reproduce:

      1. Create a new "Qt Quick Application - Empty" Project
      2. Select Build System "qmake"
      3. Minimum required Qt version: "Qt 5.15" - unfortunately i cannot select Qt 6.0
      4. Kit Selection: Desktop Qt 6.0.0 MinGW 64-bit
      5. Open main.qml file and remove the version after the import statement

      This produces the error

      package import requires a version number
      

      Related issue

      Regarding to QTCREATORBUG-24533 this should be fixed in Qt Creator 4.13.2, but for me it isn't fixed (see attached Screenshot)

      Attachments

        1. versionless-import.png
          90 kB
          Christian Fischerauer

        Issue Links

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

          Activity

            People

              fawzi Fawzi Mohamed
              christian.fischerauer Christian Fischerauer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes