Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-955 Fix template expansion
  3. QTCREATORBUG-324

Code completion on items in QStringList (QString items) does not work

    XMLWordPrintable

Details

    Description

      This problem is present in the Qt Creator since the start of the project.

      I think I can describe this in a few examples. The code completion on the QStringList works, but when you access an item in this list, e.g. stringList.at(0), the code completion on the selected item does not work.

      If I remember correctly QStringList inherits QList<> template and I think that this QList<> template does not know which objects are in the list or at least the code completion does not know ths - the pop-up on the at() function shows that it is of type "T". This is weird since this works without a problem if you work directly with QList<>, e.g. QList<QString>.

      This should be a known problem since it is present since the start of the project.

      I can attach some screenshots tomorow when I get to the office.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            djurodrljaca Djuro Drljaca
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes