Results 1 to 5 of 5

Thread: How to get the lib files for linking on VStudio?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Posts
    39
    Thanks
    14
    Qt products
    Qt4
    Platforms
    Windows

    Default How to get the lib files for linking on VStudio?

    After installing Qt4.7 + the current VStudio addin I am not able to find where to get or how to generate the lib files needed to link the project under VS.

    I had the Qt4.5 + the vsAddin running perfectly but frankly I don't remember what I did when I installed them.
    Can anyone give me a hint?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to get the lib files for linking on VStudio?

    Did you install the release of Qt for Visual Studio? If so, the required lib files should be there.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2009
    Posts
    39
    Thanks
    14
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to get the lib files for linking on VStudio?

    Thanks for your reply. Is the "Qt SDK: Complete Development Environment" supposed to contain the lib files? or additionally I should install the Qt libraries 4.7.2 for Windows (VS 2008, 218 MB)?

    By the way can coexist libraries for Mingw and VStudio? (Installing the VStudio libs would interfere with QtCreator compiling with gcc)

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to get the lib files for linking on VStudio?

    The Qt SDK contains pre-build lib files for MinGW, which is what is shipped with the Qt SDK. If you want VS compatible lib files you can either build them yourself, or download the pre-build lib files for VS.

    Yes, you can install both MinGW and VS lib files, just put them in different folders and specify the location in your project.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to get the lib files for linking on VStudio?

    Quote Originally Posted by thru View Post
    Thanks for your reply. Is the "Qt SDK: Complete Development Environment" supposed to contain the lib files?
    No, it's meant for MinGW and not for MSVC.

    or additionally I should install the Qt libraries 4.7.2 for Windows (VS 2008, 218 MB)?
    You only need the latter.

    By the way can coexist libraries for Mingw and VStudio? (Installing the VStudio libs would interfere with QtCreator compiling with gcc)
    If they are installed in different directories then yes.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. The following user says thank you to wysota for this useful post:

    thru (20th March 2011)

Similar Threads

  1. linking the files with openGL code
    By Abeer in forum Newbie
    Replies: 1
    Last Post: 25th May 2010, 01:10
  2. Where is QT toolbox and form designer in VStudio ?
    By hcetiner in forum Installation and Deployment
    Replies: 1
    Last Post: 28th March 2010, 12:26
  3. Replies: 7
    Last Post: 11th December 2009, 05:01
  4. Replies: 1
    Last Post: 6th November 2009, 21:25
  5. Replies: 12
    Last Post: 17th June 2009, 05:34

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.