Results 1 to 3 of 3

Thread: Error during qmake hello.pro command execution

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2011
    Posts
    36
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Error during qmake hello.pro command execution

    Hi All,
    I tried to use the following sample hello world program.

    Qt Code:
    1. #include "QApplication"
    2. #include "QLabel"
    3.  
    4. int main(int arg c, char* argv[])
    5. {
    6. QApplication app(argc, arv);
    7. QLabel *myLabel = new QLabel("Hello World");
    8. myLabel->show();
    9. return app.exec();
    10. }
    To copy to clipboard, switch view to plain text mode 

    1. Ran qmake -project and it created hello.pro file as expected.
    2. Ran qmake hello.pro, but it throws the following error,

    C:\Qt Samples\hello>qmake -project

    C:\Qt Samples\hello>qmake hello.pro
    Error processing meta file: c:\Qt\4.5.0\lib\qtmain
    Error processing meta file: c:\Qt\4.5.0\lib\qtmaind
    Error processing meta file: c:\Qt\4.5.0\lib\qtmain

    Could you tell me how to resolve this issue. Thanks.

    Regards,
    Sankar.
    Last edited by Lykurg; 9th February 2011 at 08:27.

Similar Threads

  1. Qmake command not recognized
    By Rakula in forum Installation and Deployment
    Replies: 2
    Last Post: 15th September 2014, 13:10
  2. Where is the command line for qmake commands?
    By Rakula in forum Installation and Deployment
    Replies: 1
    Last Post: 21st October 2010, 10:53
  3. Replies: 8
    Last Post: 27th October 2009, 09:07
  4. QMAKE run bash command
    By kemp in forum Qt Programming
    Replies: 8
    Last Post: 9th February 2007, 15:35
  5. Execution error
    By Shuchi Agrawal in forum Installation and Deployment
    Replies: 10
    Last Post: 9th February 2007, 12:12

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.