PDA

View Full Version : QT_DEBUG__PLUGINS Windows 7, where does it log information



mortoray
9th October 2010, 08:23
I'm trying to get the mysql plugin working correctly on install with little success. I'd like to use the QT_DEBUG_PLUGINS in the environment but I don't know where it is writing the output.

This is a graphical app without a console. But if I do start from a console nothing is written there. I have a custom MsgHandler, but no messages are written there either.

tbscope
9th October 2010, 08:25
There are a couple of programs that show the debug output. I don't know the exact names at the moment.
Edit: example: dbgview

But in most cases, it is as easy as adding CONFIG += console in the .pro file.

mortoray
9th October 2010, 08:38
It appears it does goes through the MsgHandler, you just have to convince windows to give the program the QT_DEBUG_PLUGINS variable (apparently setting it in a command prompt wasn't working -- I set it globally, login again, and I get the output).