PDA

View Full Version : Qt4 no debug messages



TheKedge
23rd January 2006, 15:10
Hello

I'm using Qt4 and MSVS6 and I have a problem that I don't get any messages when connect() doesn't work.

here's an example that can't work - there's no function called bling() - but I don't get any message telling me that - I used to get a message in Qt3


findAction = new QAction("find", this);
connect(findAction, SIGNAL(triggered()), this, SLOT(bling()));

Is it a config problem?

Thanks
K

jacek
23rd January 2006, 16:52
Try adding "CONFIG += console" to your .pro file.

TheKedge
23rd January 2006, 17:29
sorry, but I don't have one. I'm not using the designer. I've got my classes jammed into a MSVC6 project.

wysota
23rd January 2006, 17:52
Then ask MSVS to bring up a console.