Results 1 to 2 of 2

Thread: DLL is being built instead of a LIB file

  1. #1
    Join Date
    Nov 2011
    Posts
    30
    Qt products
    Qt3
    Platforms
    MacOS X

    Default DLL is being built instead of a LIB file

    I am trying to build the twitter library "minimoog-QTweetLib" and instead of it creating a .lib file it's creating a .dll file in the "LIB" directory. I have run into this before. How, do I for the environment to create a .lib file instead of a dll?

    Ken

  2. #2
    Join Date
    Nov 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: DLL is being built instead of a LIB file

    Hi Ken,

    For your case you must add the following line to your .pro (project) file.
    CONFIG+=staticlib
    In this way the compiler knows you want a static lib instead of a shared library.

    Regards.

Similar Threads

  1. Replies: 6
    Last Post: 20th June 2012, 16:15
  2. Qt Assistant Only one index item built from keyword list in qhp file
    By joekemp in forum Qt Tools
    Replies: 1
    Last Post: 10th March 2011, 17:29
  3. Replies: 4
    Last Post: 18th December 2010, 08:08
  4. Using QuiLoader in QtScript file after bindings built
    By dlang123 in forum Qt Programming
    Replies: 1
    Last Post: 27th October 2010, 16:34
  5. Replies: 3
    Last Post: 11th May 2010, 04:50

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
  •  
Qt is a trademark of The Qt Company.