I have a standalone version of a gui, example2a, but keep getting the error:
TQObject::CheckConnectArgs: slot DoDraw() does not exist
I have a LinkDef.h file, which consists of
#pragma link C++ class MainFrame;
Any ideas where I am going wrong?
If you are getting the following message:
Error in TQObject::CheckConnectArgs: slot DoDraw() does not exist
it is very likely that you forgot to change the class name on the line:
draw->Connect(“Clicked()”, “MyMainFrame”, this, “DoDraw()”);
to MainFrame as I could gess from the LinkDef file.
Best regards, Ilka