pexport -o my.dll > my.defdlltool -dmy.def -Dmy.dll -lmy.a -A -p_imp
class ClassFromDLL{...public:int A();int B();...}class MyWrapper{ Q_OBJECT Q_INTERFACES(MyWrapperInterface) private: ClassFromDLL* instance;public: virtual int A(){ return instance->A();}; virtual int B(){ return instance->B();};}
typedef struct1* (*myfunc1)(int param1, char * param2);....typedef struct1* (*myfuncN)(int param1);