How to create and use a static library or a share library with Qt Creator?
Hi all,
I don't know how to create a static library or a share library and use it.
Can you show me how to do it?
Thank you very much.
Re: How to create and use a static library or a share library with Qt Creator?
Create a new project. In the project wizard, choose "Other Project" and then "C++ Library". Proceed as you do normally with programs. To use it, add a line
Code:
LIBS += -L/path/to/library -lmylib
to your .pro file.
http://doc.trolltech.com/latest/qmak...ding-a-library
Re: How to create and use a static library or a share library with Qt Creator?
Hi all,
I create a shared object ( dynamic library) by Eclipse IDE and I can use this *.so for Qt Creator, Eclipse. But when I create a shared object by Qt Creator, I can not use it on both Eclipse , Qt Creator. I use "ldd" command to check it, I see no problem.
Please tell me why?