Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good evening, I have a problem when I load .so into QT project.
firstly, I copy libexpat.so to the project folder.
secondly, I add INCLUDEPATH += ../include/expat LIBS += -L -lexpat to .pro file

But the application also reminds cannot find the libexpat's functions, I don't know why ,anyone can help me ? thanks

By the way, expat library's all functions add "extern C".

thank you
Posted
Comments
markkuk 27-Mar-12 6:53am    
Post the actual error message. Why are you putting the .so file in the project directory instead of the system library directory? What operating system are you using?
vonpik 28-Mar-12 4:32am    
Are you including catalogue with headers that have only one line in it? For example <pre>#include "../taglib/wavpack/wavpackproperties.h"</pre>
or files that have whole definitions? I recently added *.so library and it does not work when I add headers only with some include in it, but with whole definitions it does.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900