I got it working with Tonys help and his version of shiboken.pyd

Here's what I use:

Plain Python 2.6.4 that ships with Softimage.
I downloaded PySide-1.1.2qt474.win-amd64-py2.6.exe from 
http://www.lfd.uci.edu/~gohlke/pythonlibs/
since Nokia does not provide 64bit windows binaries. This is the latest version 
I could find anywhere that is 64 biot and compiled against version 2.6 of 
python.

To install the package I had to add the Python path to the registry following 
this article:
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath = C:\Program 
Files\Autodesk\Softimage 2011 Subscription Advantage Pack\Application\python

In hindsight I think that's a bit overkill, it should be sufficient to just extract the 
"PySide" folder of the archive to the Softimage python site-packages folder.

Finally I copied shiboken.pyd from Tony to that same folder.

After restarting Softimage, I could import PySide.shiboken

According to this article, up until very recently there was a problem with 
shiboken not being part of PySide builds. See: 
http://stackoverflow.com/questions/12301735/pysides-shiboken-python-module-not-found

Since there is no recent PySide binary 8if ne 1 knows one please let me know) 
there seems to be no other way than building it manually. Here's the 
corresponding guideline for 32 bit, the 64 bit procedure is probably similar, 
though I haven't tried yet:
http://qt-project.org/wiki/Building_PySide_on_Windows

That's as far as I got today.

Stefan




i assume per this thread...

https://groups.google.com/d/msg/pyside/Vx8L1hwZVQE/upA2dFIuieEJ

i am afraid thats too much work for me to use pyside inside softimage right
now.

s

On Mon, Oct 15, 2012 at 4:35 PM, Steven Caron <[email protected]> wrote:

yeesh


On Mon, Oct 15, 2012 at 4:29 PM, Stefan Kubicek <[email protected]>wrote:

I'm talking to Tony atm, he said they are compiling shiboken manually.


 so how is brad using pyside then? can he not import shiboken and use
their
version of wrapinstance?

On Mon, Oct 15, 2012 at 4:06 PM, Stefan Kubicek <[email protected]
>wrote:

 I do, and I'm using Stevens unmodified code. I don't get those messages
you are getting, independant of wether I comment the VK_UP and VK_DOWN
parts out or not.

Atm it's a bit useless for me though because I can't import shiboken
which
is needed to get the equivalent if sip's wrapinstance method, I'm still
looking for a solution to the problem.
It's also kind of strange Nokia does not provide 64 bit binaries of
PySide
:-(




______________________________**______________________________**
__________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________**______________________________**
__________



--
------------------------------**-------------
Stefan Kubicek                   Co-founder
------------------------------**-------------
          keyvis digital imagery
         Wehrgasse 9 - Grüner Hof
           1050 Vienna  Austria
        Phone:    +43/699/12614231
--- www.keyvis.at  [email protected] ---
--  This email and its attachments are
--confidential and for the recipient only--






--
-------------------------------------------
Stefan Kubicek                   Co-founder
-------------------------------------------
          keyvis digital imagery
         Wehrgasse 9 - Grüner Hof
           1050 Vienna  Austria
        Phone:    +43/699/12614231
--- www.keyvis.at  [email protected] ---
--  This email and its attachments are
--confidential and for the recipient only--

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

Reply via email to