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
Forum Updated to NodeBB v4.3 + New Features

Include libs in Visual Studio 2015

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 1.0k 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.
  • M Offline
    M Offline
    michalt38
    wrote on 20 Nov 2017, 17:03 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
    • V Offline
      V Offline
      VRonin
      wrote on 20 Nov 2017, 17:12 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

      1/2

      20 Nov 2017, 17:03

      • Login

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