Landelin Delcoucq
Landelin Delcoucq

Reputation: 316

How to use libltdl on OS X in a Qt project

I try to use libltdl in Qt on OSX. I downloaded the library with brew and i can find it in /usr/local/lib/libltdl.dylib .

I link it in Qt Creator using the assistant and those lines were added to my .pro

macx: LIBS += -lltdl

The problem is when i use :

#include <ltdl.h>

the app doesn't compile and the following error appears :

fatal error: 'ltdl.h' file not found
#include <ltdl.h>

Thanks for your help !

Upvotes: 1

Views: 436

Answers (0)

Related Questions