Results 1 to 6 of 6

Thread: Win32 qmake: building a static library

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: Win32 qmake: building a static library

    Quote Originally Posted by Amanda View Post
    So the build was successful, and I can just rename lib<name>.a to <name>.lib?
    If you want to use that library in MinGW, you don't have to do anything, and if you want to use it in a program compiled with MSVC, you shouldn't, since MinGW isn't binary compatible with MSVC and it just won't work.

  2. The following 2 users say thank you to jacek for this useful post:

    Amanda (10th November 2006), jacky (15th April 2009)

Similar Threads

  1. Generating a static and dynamic library
    By elcuco in forum Qt Programming
    Replies: 3
    Last Post: 20th August 2011, 12:46
  2. Wrap a static QT library inside an XPCOM component ?
    By Paul_Xul in forum Qt Programming
    Replies: 2
    Last Post: 3rd August 2010, 08:16
  3. Replies: 4
    Last Post: 8th April 2010, 00:09
  4. Building a third party library
    By munna in forum General Programming
    Replies: 1
    Last Post: 6th October 2006, 21:43
  5. I got two problems when I used static compiled library of QT4
    By qintm in forum Installation and Deployment
    Replies: 8
    Last Post: 20th April 2006, 09:52

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.