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

QML version detection ignores the fact that imports are commented out

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P4: Low
    • None
    • 5.4.0, 5.7.0, 5.8.0, 5.9.1, 5.11.0
    • None
    • Linux pc 3.19.0-1-ARCH #1 SMP PREEMPT Mon Feb 9 07:08:20 CET 2015 x86_64 GNU/Linux

    Description

      /*
      import QtQuick 1.0
      */
      import QtQuick 2.2
      
      Rectangle {
      	width: 200
      	height: 200
      	color: 'red'
      }
      

      qmlscene detects that as 1.0 file and suggests qmlviewer,
      qmlviewer detects that as 2.0 file and suggests qmlscene. Not a part of Qt 5 anymore.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            chalker Сковорода Никита
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes