Results 1 to 4 of 4

Thread: Qt4 no debug messages

  1. #1
    Join Date
    Jan 2006
    Location
    Munich, Germany.
    Posts
    111
    Thanks
    29
    Thanked 3 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Unhappy Qt4 no debug messages

    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
    Qt Code:
    1. findAction = new QAction("find", this);
    2. connect(findAction, SIGNAL(triggered()), this, SLOT(bling()));
    To copy to clipboard, switch view to plain text mode 

    Is it a config problem?

    Thanks
    K

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt4 no debug messages

    Try adding "CONFIG += console" to your .pro file.

  3. #3
    Join Date
    Jan 2006
    Location
    Munich, Germany.
    Posts
    111
    Thanks
    29
    Thanked 3 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Qt4 no debug messages

    sorry, but I don't have one. I'm not using the designer. I've got my classes jammed into a MSVC6 project.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,014 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt4 no debug messages

    Then ask MSVS to bring up a console.

Similar Threads

  1. Qt + Linux + Eclipse - debug using debug build?
    By will49 in forum Qt Programming
    Replies: 6
    Last Post: 13th April 2012, 06:27
  2. Some very weird compilation warnings
    By MarkoSan in forum Qt Programming
    Replies: 21
    Last Post: 23rd January 2008, 16:48
  3. qt3 to qt4 conversion: debug messages
    By hugo vanwoerkom in forum Qt Programming
    Replies: 3
    Last Post: 15th October 2007, 19:08
  4. Qt4 open src mingw from a PC to another
    By nvictor in forum Installation and Deployment
    Replies: 11
    Last Post: 1st May 2007, 17:41
  5. Adding custom defines when on debug build
    By chus in forum Qt Programming
    Replies: 2
    Last Post: 2nd March 2007, 11:38

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.