Results 1 to 1 of 1

Thread: How to link the DLL statically

  1. #1
    Join Date
    Jun 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to link the DLL statically

    Hi evrybody!
    I wonder how to link statically all the necessary Qt standard dlls into my dll-file .
    I have now created the dll and need to deploy it. But I don't want to bring all the Qt system dlls together with mine.
    So I tryed to link it statically. I configuerd the copy of the Qt statically and tried to build the dll. This approach turned out to be unsuccessfull. What I only managed to do was to link applications statically (all dependencies were resolved inside the application) but when I just change the TEMPLATE from app to lib and point out the dll in CONFIG everything fails. I receive just a dll file with all the dependencies unresolved - just as I do with the dynamic version of the Qt library.
    Is this possible or not? (In Borland C++ Builder for example I just set one flag to move all its native content statically into the building dynamic library),
    Last edited by Sergei Smirnov; 21st June 2010 at 18:02.

Similar Threads

  1. Qt statically with Qwt
    By edney in forum Qwt
    Replies: 1
    Last Post: 4th June 2010, 22:39
  2. statically link Qt libraries (not build static library)
    By mcarter in forum Qt Programming
    Replies: 3
    Last Post: 1st February 2010, 20:42
  3. building qt statically
    By eleanor in forum Installation and Deployment
    Replies: 7
    Last Post: 9th May 2009, 09:03
  4. Link all Qt libs statically.
    By psih128 in forum Installation and Deployment
    Replies: 12
    Last Post: 29th December 2008, 20:48
  5. Statically Linking... everything
    By bpetty in forum Newbie
    Replies: 5
    Last Post: 26th October 2006, 17:43

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.