I've read quite a few posts here and on stackoverflow and I'm still having an issue running any Qt code in maya 2011 after going from 2008. Whenever I try importing QtCore, I'm getting "DLL load failed: the specified procedure could not be found". I've tried replacing DLLs and pyds in python/site-packages and still had no luck. sys.path has maya site-packages folder in the list of folders to look in and everything works outside maya (even though it was qt 4.8 I installed separately). I can't even figure out which Qt version Maya comes with as I can't import QT_VERSION_STR from QtCore. Dependency walker doesn't show any issues that might have been caused by missing DLLs. I was also thinking it might be 32 vs. 64 bit compatibility but when I deliberatly replaced 32 bit dlls with 64 (my Maya 2011 is 32bit) it started complaining about invalid DLLs (i.e. it was trying to load them from the right place).
What's the best way to overcome this issue? Do you have and advices as this is really weird situation I haven't encountered before.