Hi.
I'm trying to add an external library (libmesh) to a project that must be created under Linux environment.
I've downloaded and compiled the library myself, so it's in a not standard location. The location is in
mydir/lib/libmesh.so
while headers are located in
mydir/include
in this directory I've many subfolders (base, geom etc).
The first thing that I'd like to know is how I can include all include subfolders without declare a INCLUDEPATH for everyone, but telling that I want to use all subfolders of mydir/include.
Then, I'd like to know how include the .so file in my project.
I've tried to use
LIBS += $$quote(mydir/lib/libmesh.so)
and
LIBS += -L$$quote(mydir/lib/libmesh.so)
but nothing happens: I got a lot of "undefined reference" errors.
Have you any suggestion?
Bookmarks