Results 1 to 2 of 2

Thread: How to use static library created by MSVC in QT Creator

  1. #1
    Join Date
    Feb 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default How to use static library created by MSVC in QT Creator

    Hi guys,
    I have a file .lib, static library which is created by Microsoft Visual C++ and I want to use it in a project created by Qt creator. I don't know how to do it. Can you help me?
    Thank a lot.

  2. #2
    Join Date
    Mar 2008
    Location
    Houston, Texas, USA
    Posts
    277
    Thanks
    9
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Re: How to use static library created by MSVC in QT Creator

    Well first of all, you will have to setup QtCreator to use MSVC and not MinGW. Then you just add it it normally how you would link with other libraries that are external.
    Qt-4.7.3 | Gentoo ~amd64 | KDE-4.7
    Aki IRC Client for KDE4 | Qt Documentation

Similar Threads

  1. Replies: 2
    Last Post: 19th February 2011, 12:26
  2. Replies: 1
    Last Post: 21st September 2010, 09:58
  3. how to set QT Creator to use MSVC++ compiler instead of mingw
    By hcetiner in forum Installation and Deployment
    Replies: 5
    Last Post: 28th March 2010, 20:55
  4. MSVC no .lib created
    By magland in forum Qt Programming
    Replies: 3
    Last Post: 13th February 2008, 13:32
  5. HOW TO - created and use shared library (.so)
    By big4mil in forum Qt Programming
    Replies: 4
    Last Post: 26th November 2006, 00:11

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.