Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Include libs in Visual Studio 2015

Include libs in Visual Studio 2015

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • michalt38M Offline
    michalt38M Offline
    michalt38
    wrote on last edited by michalt38
    #1

    Hello,
    I'm using Visual Studio 2015 with Qt5 plugin and I want to include some libs in a Qt project. In Qt creator I could to this in .pro file with INCLUDEPATH += ... and LIBS += ... but I do not know how to do this in Visual Studio.

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      This has very little to do with Qt...

      • INCLUDEPATH +=
        • Right Click on the project file -> properties -> C/C++ -> General -> additional include directories
      • LIBS +=
        • -L
          • Right Click on the project file -> properties -> Linker -> General -> Additional library directories
        • -l
          • Right Click on the project file -> properties -> Linker -> Input -> Additional dependencies

      you have to do it separately for Debug and Release

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      5

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved