Results 1 to 4 of 4

Thread: capture information to the command line qt4

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: capture information to the command line qt4

    You should use qDebug if it is for debugging. Simply include QtDebug and do something like this:
    Qt Code:
    1. qDebug() << "test";
    To copy to clipboard, switch view to plain text mode 
    .

    If you are using the Windows version of Qt you might want to add a line to the pro-file of you project.

    Qt Code:
    1. CONFIG += console
    To copy to clipboard, switch view to plain text mode 

    Without this one, you will not see anything.

  2. The following user says thank you to e8johan for this useful post:

    nikita (5th September 2006)

Similar Threads

  1. Replies: 13
    Last Post: 1st June 2006, 14:01
  2. Capture a keyboard event
    By mahe2310 in forum Qt Programming
    Replies: 8
    Last Post: 16th February 2006, 11:19

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.