I have a problem with QT4 plugin path which is hard-coded into QtCore4.dll directly. I have tried to use addLibraryPath or setLibraryPaths but both didn't work. The only way I can make it work is change the hard-coded path in QtCore4.dll using a hex editor but I don't think it is a good way. Does anyone have a good solution on it?

Thanks