I'm using on windows a thirdparty .dll that needs QtGui4.dll of version 4.something and I can't change that application, however in my application I use QtGui4.dll version 4.7.4. of course loading those two dlls together is problematic. I can't put them in the same dir, and if I change the system path for dllload it will be the same path for my application and thirdparty dll.

I have two possible solutions I'm looking at
1: Statically link to Qt (I really prefer not using this solution)
2: Somehow build Qt with adding suffix/prefix to libraries build so I'll get something like : QtGui4v474.dll etc. This is actually done automatically in wxWidgets and I was hoping there is something like that in Qt.

If there are other options I'll be happy to hear

Thank you