Results 1 to 3 of 3

Thread: Wrong compiling result by QT!!??

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    2

    Default Wrong compiling result by QT!!??

    These are two of my helloworld :
    without QT class

    Qt Code:
    1. #include <iostream>
    2. int main()
    3. {
    4. std::cout<<"haha"<<std::endl;
    5.  
    6. return 0;
    7. }
    To copy to clipboard, switch view to plain text mode 

    with QT class
    Qt Code:
    1. #include <QtDebug>
    2. int main( )
    3. {
    4. qDebug() << "Hello Qt World!";
    5. return 0;
    6. }
    To copy to clipboard, switch view to plain text mode 
    I compiled any of these file as like:
    \qmake -project
    ......
    \qmake
    ......
    \make
    ......

    There is no any error ,but when I run the helloworld.exe,there is no out !!!???
    why!

    Is there any bug with QT?!
    Last edited by marcel; 13th January 2008 at 13:42. Reason: missing [code] tags

Similar Threads

  1. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05: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
  •  
Qt is a trademark of The Qt Company.