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

Crash when searching for examples

    XMLWordPrintable

Details

    • f1bc4ade50abd267609c490ea5b4ff519515a466

    Description

      I get a crash when I do the following:

      • Open Qt Creator

      Optional steps:

      • Go to welcome mode
      • Click on examples
      • type a couple of letters into the search box

      — Note: Searching for examples works as expected

      Required Steps:

      • Switch to edit mode
      • Open Tools>Options>Build & Run>Qt Versions
      • Do NOT touch anything on the Qt versions page
      • Click OK to close the Settings Window
      • Go back to welcome mode
      • Select examples
      • Type a letter into the search field

      ---> CRASH.

      Apparently the m_qtVersions held by the Model are no longer valid.

      In general it is not a good idea to hold on to BaseQtVersion *, but it should be OK here as the versions should get updated whenever the Qt versions change. That update seems to work fine while welcome mode is visible, it fails to happen when it is not.

      Attachments

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

        Activity

          People

            hjk hjk
            hunger Tobias Hunger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes