P4 PyQt Share Issues
We had some strange PyQt4/uic/widget-plugins/ errors that were pretty tough to track down. First off, we opted to get it into PYTHONPATH through Maya.env it was the only spot where it worked for us (PyMel is added there as well). If you have found a better way, feel free to comment.
If you add those libraries to source control like P4, do yourself a favor and go to PyQt4/uic/widget-plugins/. In source control, change all those files to binary→ check them out → overwrite them with the original files that has never been checked into Perforce→ Check in.
Yepp, I know they are .py files, but if you do not do this, you will get artist errors when PyQt runs EVERYTIME they sync those files. Not sure exactly what P4 is doing to them, but for us, checking out, setting P4 file type to binary, overwrite, and check in fixed the issues.
This one was a weird one to track down….
Feel free to explain why this is happening in the comments if you know the answer , I am dying to understand that one. A clue(?) is that the file size actually change when you P4 it as ascii….and we are only talking about the files in that directory.