Project

General

Profile

How to debug Wt::WPushButton clicked().connect could not invoke a function link?

Added by jupiter hce almost 3 years ago

Hi,

I am running Wt version 4.5.0, I created a Wt::WPushButton, I can see it is functional when I run installButton->clicked().connect(this, &Wt::WPushButton::hide);, but when I change it to installButton->clicked().connect(this, &BootloaderImplement::Run);, that function BootloaderImplement::Run is never called. Surely, there is no issue with the button, but why cannot the button click to connect to a class function? How to debug it as I cannot add a log debug message to clicked().connect?

Thank you.

Kind regards.


Replies (1)

RE: How to debug Wt::WPushButton clicked().connect could not invoke a function link? - Added by jupiter hce almost 3 years ago

Sorry, don't need help any more, please ignore it.

Thank you

    (1-1/1)