Results 1 to 3 of 3

Thread: qDebug with/without MSVC

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2007
    Location
    Rakovnik, Czech Republic
    Posts
    175
    Thanks
    43
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default qDebug with/without MSVC

    I was using QDebug successfully earlier with MSVC 2005 Express. A couple weeks ago, however, I stopped using MSVC's GUI apparatus, and now edit my code and .pro files in a Cygwin/bash terminal with vi, and compile/link the program with 'nmake' in the Visual Studio Command Prompt.

    Unfortunately: I don't know how to view the qDebug output now. Do I have to go back to using MS bloat-ware to view qDebug's output?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: qDebug with/without MSVC

    Either enable console by adding the following line to .pro:
    CONFIG += console
    and rebuild the project (you'll get an extra console for the debug output). Alternatively you can use a tool called DebugView to examine the debug output.
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    vonCZ (20th June 2007)

  4. #3
    Join Date
    Apr 2007
    Location
    Rakovnik, Czech Republic
    Posts
    175
    Thanks
    43
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qDebug with/without MSVC

    once again jpn, thanks.

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.