Error while including libxml2 library
Hi everyone, I had some troubles with this.
I added this to the .pro file:
LIBS += -lcurl
INCLUDEPATH += /usr/include/libxml2/libxml
First of all, if I type LIBS += -llibxml2 i get an error. Thats why I included the path.
It works, but then I get the next error:
/usr/include/libxml2/libxml/xmlversion.h:13: error: 'libxml/xmlexports.h' file not found.
What is happening?
I had to include the next line and now it works fine
DEPENDPATH += /usr/include/libxml2