Overloaded signals, QtCreator doesn't warn about them before compile



  • Hi All,
    I have a QComboBox, wich has overloaded signals. I'm typing the following connect line:

    connect(myCombo,&QComboBox::
    

    At that point I get a list with the available signals. Then I walk with the arrow keys to "editTextChanged(const QString &)". There are two thing that could be improved here:

    1. (const QString &) is not shown when I hover over it with the mouse, you have to use the arrow keys here
    2. I can't see the signal is overloaded, so only at compile time I see I need to insert the static cast trick.
      My versions:
      Windows 7 enterprise SP1 64 bit
      Qt Creator 3.6.0 Based on Qt 5.5.1 (MSVC 2013, 32 bit)
      QT5.5, mingw492_32
      Cheers,
      Cedric

    [Moved to the Tools subforum ~kshegunov]


  • Qt Champions 2016

    @cdwijs said in Overloaded signals, QtCreator doesn't warn about them before compile:

    You may want to try the clang code model.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.