Results 1 to 2 of 2

Thread: problem in using printf

  1. #1
    Join Date
    Dec 2007
    Posts
    4
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default problem in using printf

    hi

    i am using Qt Designer


    i want to display the output to a screen(console like) and print it using C code

    i have no idea about where to display it using printf statements....

    is it possible to open a screen by clicking a pushbutton ?and then print the contents using C code?

    please reply...

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem in using printf

    It has been said like 100 times by now: Designer can't be used alone to develop an application. You will eventually have to actually write some code to make it work.

    What you want is possible, but not with Designer.
    An easier way is to output stuff using qDebug().

Similar Threads

  1. Graphics view display problem.
    By kiranraj in forum Qt Programming
    Replies: 3
    Last Post: 20th July 2007, 07:08
  2. [QMYSQL] connection problem
    By chaos_theory in forum Installation and Deployment
    Replies: 5
    Last Post: 2nd July 2007, 09:52
  3. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  4. Problem with bitBlt
    By yellowmat in forum Newbie
    Replies: 1
    Last Post: 5th April 2006, 14:08
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.