Results 1 to 5 of 5

Thread: QT Creator and additional library

  1. #1
    Join Date
    Mar 2010
    Posts
    23
    Qt products
    Qt4
    Platforms
    Windows

    Default QT Creator and additional library

    How can I link additional library to my application with qt creator?
    I want use some boost librarys.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: QT Creator and additional library

    You have to add the include path in your pro file: have a look at INCLUDE and LIBS.

  3. #3
    Join Date
    Aug 2009
    Posts
    30
    Thanks
    13
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: QT Creator and additional library

    I installed boost (boost Pro) but I have different versions of DLL v90 v100 for visual. Will it work with if I compile with qtcreator ?

  4. #4
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QT Creator and additional library

    On Windows you can build a project only (simplified..) from libraries compiled with the same compiler. So if you have boost build with the Microsoft compiler, you need to build all other libraries (including, if used, Qt) with the same. You can use Qt Creator, but note that the version of Qt distributed with the SDK is compiled with MinGW, i.e. _not_ with the Microsoft compiler.
    I am, however, pretty sure there's a MinGW compiled boost somewhere, too.

  5. #5
    Join Date
    Aug 2009
    Posts
    30
    Thanks
    13
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: QT Creator and additional library

    So I should also compile boost with MinGW... But what is the easier with to do it?

Similar Threads

  1. Using the standard library with qt creator
    By DragonLance156156 in forum Qt Tools
    Replies: 12
    Last Post: 3rd February 2016, 09:59
  2. Replies: 5
    Last Post: 18th June 2010, 22:13
  3. XCode and additional files
    By themolecule in forum Qt Programming
    Replies: 0
    Last Post: 6th May 2008, 07:57
  4. Additional Library Directories Not Searched
    By TheGrimace in forum General Programming
    Replies: 1
    Last Post: 11th September 2007, 16:50
  5. Additional classes and widgets for Qt.
    By ufo-vl in forum Qt Programming
    Replies: 4
    Last Post: 22nd July 2007, 14:51

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.