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

Autocompletion does not work in SIGNAL() and SLOT()

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      connect(this->txtOutDir, SIGNAL(textEdited(QString)), this, SLOT(txtOutDirChanged()));

       The autocomplete does not work when trying to complete in SIGNAL and SLOT declarations.

      connect(this->txtOutDir, SIGNAL(textE...ctrl+space), this, SLOT(txtOu...ctrl+space)); //nothing happens.

       I tested this in qt creator 4.6.2 and it works fine there.

       [Edit André Hartmann: The reason for this behavior is, that Creator 4.7 and higher by default enables the Clang Code Model. Currently the only way to still get code completion for the macro-based SIGNAL and SLOT connection, Clang can be disabled in Help > About Plugins > Clang Code Model]

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                kosjar Nikolai Kosjar
                Reporter:
                tompollok Thomas Pollok
              • Votes:
                5 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes