Hello,
I’ve been trying to get the program guitest.C to compile in order to run in standalone. I am able to compile it fine however running it give the error messages:
“
Error in TQObject::CheckConnectArgs: slot CloseWindow() does not exist
Error in TQObject::CheckConnectArgs: slot HandleMenu(int) does not exist
Error in TQObject::CheckConnectArgs: slot HandlePopup() does not exist
Error in TQObject::CheckConnectArgs: slot HandlePopdown() does not exist
”
basically it seems to not recognize the slots. The gui appears properly, however none of the signal/slot connections work.
in order to compile it i used:
<g++ root-config --cflags --glibs
-o guitest guitest.C -D STANDALONE>
I also tried
<g++ -O -Wall -fPIC -pthread -I/root/root/include -c guitest.cxx -D STANDALONE>
followed by
<g++ -O guitest.o -L/root/root/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui -pthread -lm -ldl -rdynamic -o guitest>
both which compile errorlessly.
Performing these compiles on non-signal/slot gui’s seems to work, ie. guitest.cxx, but as soon as I through in a signal/slot, it doesnt seem to recognize the slot.
Is there something different i have to do in order to compile guitest.C ?
any help would be really appreciated, thanks
Mitch C.