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.
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.
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
to your .pro file.Qt Code:
LIBS += -L/path/to/library -lmylibTo copy to clipboard, switch view to plain text mode
http://doc.trolltech.com/latest/qmak...ding-a-library
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields
Ask Smart Questions
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?
Bookmarks