Include libs in Visual Studio 2015



  • 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.



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.