Results 1 to 4 of 4

Thread: error: collect2: ld returned 1 exit status

  1. #1
    Join Date
    Feb 2009
    Posts
    143
    Thanks
    8

    Default error: collect2: ld returned 1 exit status

    Hi

    I am using QtCreator 2.1.

    yesterday the same code, was built successfully.

    Today morning, when i tried to compile the same code, without any changes, its giving me this error

    error: collect2: ld returned 1 exit status

    how can i solve it?

    I tried reinstalling 2.1 but still the same problem.

  2. #2
    Join Date
    Feb 2009
    Posts
    143
    Thanks
    8

    Default Re: error: collect2: ld returned 1 exit status

    got it working now.

  3. #3
    Join Date
    Jul 2009
    Posts
    22
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: error: collect2: ld returned 1 exit status

    Could you please explain how that problem is solved?

    Thanks in advance

  4. #4
    Join Date
    Feb 2009
    Posts
    143
    Thanks
    8

    Default Re: error: collect2: ld returned 1 exit status

    check the compile output in qt creator.
    Compile output will specify ur error

Similar Threads

  1. collect2: ld returned 1 exit status
    By qtnewbie123 in forum Installation and Deployment
    Replies: 9
    Last Post: 12th July 2011, 19:51
  2. Collect2:Id Returned 1 exit status
    By c_srikanth1984 in forum Qt Programming
    Replies: 9
    Last Post: 14th February 2010, 05:58
  3. collect2: ld returned 1 exit status
    By assismvla in forum Qt Programming
    Replies: 1
    Last Post: 25th May 2009, 02:51
  4. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 07:13
  5. ld returned 1 exit status.....An unsual error
    By shamik in forum Qt Programming
    Replies: 4
    Last Post: 23rd November 2006, 11:14

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.