Why the tip of content of SIGNAL is dispeared in Qt Creator 4.11 and 4.12.
-
In Qt Creator 4.11 and 4.12, when type connect(timer, SIGNAL(timeout()), this, SLOT(onTimeOut()).
the timeout() can't popup when SIGNAL is finished. But the version below 4.6 of Qt Creator, It 's ok.
Is it a bug in new version of Qt Creator or somewhere I should to set?
-
In Qt Creator 4.11 and 4.12, when type connect(timer, SIGNAL(timeout()), this, SLOT(onTimeOut()).
the timeout() can't popup when SIGNAL is finished. But the version below 4.6 of Qt Creator, It 's ok.
Is it a bug in new version of Qt Creator or somewhere I should to set?
-
@sonicss
Maybe support for old-style has ceased, I don't know. But if you are still developing, why not do yourself a favor and change over to new-style signal/slot syntax? -
@sonicss
Maybe support for old-style has ceased, I don't know. But if you are still developing, why not do yourself a favor and change over to new-style signal/slot syntax?@JonB I got a way to solve this problem, I think maybe it's bug of Clang code model.
But I will use the new signal/slot syntax in the feature.
disable the ClangCodModel, the tip of old signal/slot syntas will popup.
Help->About plugin, uncheck ClangCodModel
-
@JonB I got a way to solve this problem, I think maybe it's bug of Clang code model.
But I will use the new signal/slot syntax in the feature.
disable the ClangCodModel, the tip of old signal/slot syntas will popup.
Help->About plugin, uncheck ClangCodModel
@sonicss said in Why the tip of content of SIGNAL is dispeared in Qt Creator 4.11 and 4.12.:
But I will use the new signal/slot syntax in the feature.
Glad you solved. But have a read of:
https://wiki.qt.io/New_Signal_Slot_Syntax
https://doc.qt.io/qt-5/signalsandslots.htmlUse these from now on.