Results 1 to 6 of 6

Thread: Compilation error: "collect2: ld returned 1 exit status" when ussing QSslKey

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2010
    Posts
    7
    Thanks
    1
    Platforms
    Windows

    Default Re: Compilation error: "collect2: ld returned 1 exit status" when ussing QSslKey

    Problem solved, I added libQtNetwor4.a

  2. #2
    Join Date
    Dec 2010
    Posts
    11
    Thanks
    1

    Default Re: Compilation error: "collect2: ld returned 1 exit status" when ussing QSslKey

    The had the same error. Here is my case from my blog http://kdelchev.com/articles/other/Q...it_status.html

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Compilation error: "collect2: ld returned 1 exit status" when ussing QSslKey

    This should be handled for you by adding "network" to the QT variable in your PRO file:
    Qt Code:
    1. QT += network
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Collect2:Id Returned 1 exit status
    By c_srikanth1984 in forum Qt Programming
    Replies: 9
    Last Post: 14th February 2010, 04:58
  2. error: collect2: ld returned 1 exit status
    By srohit24 in forum Qt Programming
    Replies: 3
    Last Post: 1st December 2009, 06:32
  3. error: collect2: ld returned 1 exit status
    By nataly in forum Qt Programming
    Replies: 4
    Last Post: 13th October 2009, 13:39
  4. collect2: ld returned 1 exit status error
    By gmsk19 in forum Qt Tools
    Replies: 11
    Last Post: 25th July 2009, 02:05
  5. collect2: ld returned 1 exit status
    By assismvla in forum Qt Programming
    Replies: 1
    Last Post: 25th May 2009, 01:51

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.