Answer the question
In order to leave comments, you need to log in
How to add a library to Qt?
I need to include the openbabel library in my qt project for desktop devices,
tell me how to do it? I downloaded open-babel-2-4-0.zip
and try to connect like this, but it doesn't work:
LIBS += \
-L$$E:/libs/openbabel-openbabel-2-4-0/include/openbabel -lopenbabel
Answer the question
In order to leave comments, you need to log in
Almost right. Fixes:
LIBS+=-l/path/to/file/lib
INCLUDEPATH+=/path/to/folder/c/includes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question