Here is that specialized qmake i was talking about. Rebuild all your libraries with this and there will be no linking problems. All of them will still have the cyg prefix, and -0 major version however. http://clue.eng.iastate.edu/~superm1/qmake.exe