Add "TEMPLATE = lib" to your project file. If you want your library to be loadable by QLibrary, you also have to make sure that all functions in that library are declared as extern "C":
Qt Code:
extern "C" { void func1(); void func2(); void func3(); //... }To copy to clipboard, switch view to plain text mode
Bookmarks