<TQObject::CheckConnectArgs>: slot test() does not exi

Hello,

I have written a program plotting different graphs with different parameters. For this program I wanted a graphical userinterface with bottons.Please find attached my code.
When I’m compiling this with the command:
g++ root-config --cflags root-config --libs -lGui -o getPanel.cpp,
and run the executable, I got the error: TQObject::CheckConnectArgs: slot test() does not exist.

Where is the error?

Yours sincerely

Antje Putze
LPSC Grenoble
Panel.h (324 Bytes)
getPanel.cpp (2.95 KB)

Hi Antje,

The signals/slots communication mechanism uses the dictionary information. It seems you did not create a PanelLinkDef.h file for your class Panel containing:

#pragma link C++ class Panel+;

Use:

rootcint -f getPanelDict.cpp -c Panel.h PanelLinkDef.h

to create the dictionary and than:

g++ `root-config --cflags --glibs` -o getPanel getPanel.cpp getPanelDict.cpp

Please find attached your files with some code fixes.

Best regards, Ilka
PanelLinkDef.h (31 Bytes)
getPanel.cpp (2.97 KB)
Panel.h (403 Bytes)

Hi Antje,

Just forgot to add the following:

Cheers, Ilka

Hi Ilka,

thanks for your help. It works.

Cheers

Antje