Results 1 to 2 of 2

Thread: Linking Qt-libs static

  1. #1
    Join Date
    Apr 2010
    Posts
    2

    Default Linking Qt-libs static

    hi all,

    just try to link the qt-libs in static way. i want to do this because I have built a little tool and don't want to send all the qt *.dll's every time in bundle with my tool.

    that's why I compiled qt in static way and set up a qt-project (e.g. in eclipse). compiling runs ok. but if I try to link it the messages like attached appear.

    is this a qt-problem and what is missed ?

    best regards

    Simon

    Log.jpg

  2. #2
    Join Date
    Oct 2007
    Location
    Lake Forest, CA, USA
    Posts
    132
    Thanks
    10
    Thanked 27 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Linking Qt-libs static

    Add -lOle32 to your linking flags.
    Oleg Shparber

Similar Threads

  1. building a static lib with links to other static libs
    By hubipet in forum Installation and Deployment
    Replies: 0
    Last Post: 20th October 2011, 18:13
  2. Replies: 3
    Last Post: 1st June 2011, 15:32
  3. Linking sqlite3 libs under windows.
    By bred in forum Newbie
    Replies: 1
    Last Post: 27th October 2010, 08:13
  4. Linking 3rd party libs on Mac OS X
    By jonks in forum Qt Programming
    Replies: 2
    Last Post: 21st June 2010, 06:03
  5. Linking against different Libs
    By AlphaWolf in forum Qt Programming
    Replies: 3
    Last Post: 10th February 2009, 15:25

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.