You need mingwm10.dll because of the thread module.
I didn't find how to remove the thread module from the pro file but if you manually remove every occurrence of "-mthreads" in makefiles, it won't complain anymore about mingwm10.dll .
The problem is that you can not use QThread object in this case.
Bookmarks