Qt 6.11 is out! See what's new in the release
blog
You cannot connect anything to a signal in the same class.
-
@mtty
Just to say: there is no problem connecting a signal to a slot (functor or method) within the same class. Your code for that is correct, as far as your snippet shows. I cannot say anything about QML as I know nothing about that. If signalthis->portChanged()is raised yourqDebug()orthis->textSlot()should be called. (I assume your_timeris a class member or "global".)Your
thismust be of classBackboneInf, how does that relate to yourclass Ctr? I am lost on that in your code.... -
M mtty has marked this topic as solved on