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

Qml/JS: Find Usages finds irrelevant occurrences

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 3.1.0, Qt Creator 3.2.0-beta1, Qt Creator 4.1.0-rc1, Qt Creator 4.11.0-rc1
    • Quick / QML Support
    • Mac OSX 10.8.5, Xcode 5.1.0, Qt Creator 3.1 based on Qt5.2
      Ubuntu 12.04, Qt Creator 3.2 based on Qt5.3.1

    Description

      Steps to reproduce:

      • have a Qt4 kit and a Qt5.2 kit configured, make sure the Qt5.2 kit is the default kit
      • open an old project (propertyanimation from old QtSDK worked for me)
      • when configuring the project de-select the default kit (Qt5.2) but check the Qt4 kit and hit 'Configure Project'
      • inside one of the qml files place the cursor on an anchors.left property
      • invoke 'Tools' -> 'QML/JS' -> 'Find Usages'

      Current result:

      • usages list also occurrences inside the Qt5.2 kit although it should list only occurrences of the current project and the Qt5.2 is not even selected/configured for this project (see attached screenshot)

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-11984
        # Subject Branch Project Status CR V

        Activity

          People

            qtqmlteam Qt Qml Team User
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes