Cory Klein
Cory Klein

Reputation: 55610

How do you specify platform agnostic paths in a Qt .pro file?

I want to include a third party library by specifying it in my INCLUDEPATH in my .pro file. However, the library is installed in a different location on each platform (Windows, Mac, Linux).

How do I properly specify an INCLUDEPATH for a cross-platform application?

Upvotes: 0

Views: 149

Answers (1)

Josh
Josh

Reputation: 761

The way to do this in your .pro file is to use LIBS += as seen in this other related stack overflow question at Adding external library into Qt Creator project

Upvotes: 2

Related Questions