Results 1 to 3 of 3

Thread: QT_DEBUG__PLUGINS Windows 7, where does it log information

  1. #1
    Join Date
    Aug 2010
    Location
    Germany
    Posts
    54
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Unhappy QT_DEBUG__PLUGINS Windows 7, where does it log information

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: QT_DEBUG__PLUGINS Windows 7, where does it log information

    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.

  3. #3
    Join Date
    Aug 2010
    Location
    Germany
    Posts
    54
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT_DEBUG__PLUGINS Windows 7, where does it log information

    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).

Similar Threads

  1. No information on the console
    By starcontrol in forum Qt Programming
    Replies: 1
    Last Post: 8th April 2008, 13:39
  2. QT app information
    By CHeader in forum Qt Programming
    Replies: 5
    Last Post: 4th April 2008, 11:07
  3. How to get System Information(Windows)
    By merry in forum Qt Programming
    Replies: 1
    Last Post: 18th March 2008, 13:30
  4. How to read Raw Information from CD in MAC?
    By vishal.chauhan in forum General Programming
    Replies: 0
    Last Post: 10th July 2007, 12:26
  5. Getting MAC Information from qt?
    By vishal.chauhan in forum Qt Programming
    Replies: 4
    Last Post: 23rd May 2007, 09:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.