Results 1 to 3 of 3

Thread: Building shared lib with statically built Qt

  1. #1
    Join Date
    May 2011
    Posts
    46
    Thanks
    5

    Default Building shared lib with statically built Qt

    I have built Qt statically with Visual Studio 2010 and found that I cannot use it to make any shared library(dll), is this by design?

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Building shared lib with statically built Qt

    yes. Why don't you think about what you are trying to do
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    May 2011
    Posts
    46
    Thanks
    5

    Default Re: Building shared lib with statically built Qt

    Quote Originally Posted by amleto View Post
    yes. Why don't you think about what you are trying to do
    So if Qt was built statically, then any library(even those that don't depends on Qt at all) that use such Qt build can only output static library?

    My problem is that under the same source tree, I have libraries that will be statically linked to Qt, while others, are intended to be pure C++ shared library, and they are all managed by .pro files

Similar Threads

  1. building qt statically help
    By terhje in forum Installation and Deployment
    Replies: 1
    Last Post: 25th July 2011, 04:11
  2. Replies: 17
    Last Post: 7th November 2010, 00:51
  3. building qt statically
    By eleanor in forum Installation and Deployment
    Replies: 7
    Last Post: 9th May 2009, 09:03
  4. Is it recommended to statically built Qt?
    By RThaden in forum Qt Programming
    Replies: 1
    Last Post: 21st July 2008, 20:23
  5. Problem with mixed statically/shared Qt
    By WinchellChung in forum Newbie
    Replies: 2
    Last Post: 21st June 2007, 17:04

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.