This entry was posted in Addons, Installation, Python and tagged addons, PyQt, Softimage by xsisupport. Bookmark the permalink.
Actually, since Softimage 2014 uses Python 2.7.3, you don’t have to tell Softimage to use the Windows Python anymore, you can leave that as is. We’re running PyQt apps ‘out-of-the-box’ with no changes to Softimage 2014 apart from installing PyQtForSoftimage addon itself. PyQt4 can be installed anywhere the PYTHONPATH variable looks.
Or maybe I’m misunderstanding… ?
What you say sounds right, I’ll try it.
For Softimage 2013 and earlier, I assume I have to use the system Python.
It’s just that my starting point was something posted recently on the Softimage list, which basically said “install PyQt, use system Python, and that’s it”.
can i get some more background on this? why does this work now but didn’t work earlier? was it because pyqt4 downloads were not available for the version of python softimage shipped with prior to 2014?
or is there some new behavior with the PYTHONPATH env variable?
I thought the addon itself required 2.7.3. Maybe not? As for PYTHONPATH, I’m not aware of any changes there. All I know is that with 2014, and with PyQt4 installed in a location accessible to PYTHONPATH (network location, in our case), Soft loads those modules and the addon lets us run PyQt apps without any additional tweaks. Crazy smooth, actually.
I just assumed that you were using the system Python because older Softs had 2.6.x and you needed 2.7.x. But it if PyQtForSoftimage never worked with the Softimage Python before, I suspect maybe something changed with the Softimage Python that magically fixed the problem.
Replying to Stephen’s post below….
ok i tried your setup with the PYTHONPATH and softimage version of python with success… but this would be any different in softimage 2013. except you need to sync up your versions of python. ie. install the same version of pyqt4 which supports the version of python softimage ships with.
i am surprised by the log text not working. can you check the code at line 40 in the pyqt_example.py?
Yeah, I checked the code.
I even added some more code, but still nothing happens when I click the button, so it seems like the logText connection is never fired.
@Tim, are you saying the multi-importer doesn’t log any messages to the history pane?