Linking to a shared library in Qt

I just created tinyxml as a shared library and would like to figure out how to link it. How is this achieved?

+4
source share
1 answer

You must add includeepath and libs in your pro file.

Something like the following. Just change your ways.

LIBS += -ltinyxml LIBS += -L/libs/tinyxml/lib INCLUDEPATH += /libs/tinyxml/include/ 
+6
source

Source: https://habr.com/ru/post/1368856/


All Articles