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

QtCreator does not suggest available signals and slots in connect statement

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.8.2
    • C/C++/Obj-C++ Support
    • None
    • Tested on fresh installation of Ubuntu 18.04 and Archlinux
    • Linux/X11

    Description

      Using Qtcreator 4.8.2 and Qt 5.12.1 and 5.12.2 in archlinux/ubuntu, I'm trying to connect a signal to a slot using traditional method of QObject::connect, but when I open bracket after SIGNAL or SLOT macro, code completion does not suggest me available signals or slots. I haven't seen such a problem since I have updated Qt to this latest version. What's the problem?

      example of the code:
       connect(serial, SIGNAL(readyRead()),this, SLOT(setEncValue()));
      readyRead() and setEncValue() are not available in suggestion list, but not only these two slot and signal, there are actually no signals or slots shown in the suggestion list.

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              nixmd Maya O
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes