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

Context help prefers Qt 5 over Qt 6

XMLWordPrintable

    • 128c7dfbefb71523c064c0c221797d4f35a42213 (qt-creator/tqtc-qt-creator/5.0)

      The context help seem to prefer older Qt versions over newer ones.

      That is, if one has both Qt 5.15 and Qt 6.2 installed, the context help is opened for Qt 5.15.

      This is due to getBestLink in coreplugin/helpitem.cpp actually comparing version numbers as integers:

              const int version = extractVersion(link.second).second;
              if (version > highestVersion) {
                  highestVersion = version;
                  bestLink = link;
              }
      

      For Qt 5.15.0, the version is 5150 , which is bigger than 620 for Qt 6.2.0.

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

            jkobus Jarek Kobus
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes