The first solution :

Qt Code:
  1. LIBS += -lmlang
To copy to clipboard, switch view to plain text mode 

gives me this error : :: error: cannot find -lmlang.

The second solution :

Qt Code:
  1. win32:LIBS += -LC:/Windows/system32/mlang.dll
To copy to clipboard, switch view to plain text mode 

doesn't change anything.

I also tried to make the import library and it also doesn't succeed . I think that the mlang dll isn't compatible with the dlltool of MinGW.

http://www.mingw.org/wiki/CreateImportLibraries

Note also that some dll's may just *not be compatible* -- for example if size differences occur between long long in the different compilers, and you attempt to pass out structs that have long longs. MSVC is known to have different lengths than gcc for long double, some of its versions of it have a difference for size_t, as well (other discrepancies may be lurking, as well).
Or maybe i don't known how to do it.

Note : I succeed to compile this lib (VMime) under Ubuntu.

So can you help me please ?