Hi,

I was wondering if someone could point me to some docs, or give me a small example of some code for a simple shared library. Basically I want to create a lib with 2 functions in it that can be loaded with QLibrary, ideally the code will cross compile easily for a .so on Linux and .dll on windows.

I might be mixing C with C++ in the library's, and from what ive read i might have to declare 'extern c' or something

Anyone have a simple generic example for a library file, along with a qmake file?

Thanks very much