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

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

    XMLWordPrintable

Details

    • Windows
    • 0087bd492f (qt-creator/qt-creator/8.0) 0087bd492f (qt-creator/qt-creator/master) 0087bd492f (qt-creator/qt-creator/qds-3.6) 0087bd492f (qt-creator/qt-creator/9.0)

    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 aha_1980: 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

              artem.sokolovskii Artem Sokolovskii (Inactive)
              tompollok Thomas Pollok
              Votes:
              6 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes