PySide



  • On 01/06/2013 at 07:25, xxxxxxxx wrote:

    Hi
    My googling attempts did not return any usable result. Is it possible to use PySide for UI development inside C4D? Would be nice to save some time on redoing interfaces.
    Cheers,
    Erik



  • On 01/06/2013 at 07:53, xxxxxxxx wrote:

    sure you can, but you will have to live with the same limitations all qt-based plugins
    have to live - they are hosted in a different window. for some packages this might 
    make sense, where the SDK does provide no or only a super clunky interface classes.

    but i do not see the a reason to do so in c4d. but technically you can use any module
    you want to use in c4ds python interpreter.



  • On 01/06/2013 at 07:59, xxxxxxxx wrote:

    Popup window works fine.  
    Do I need to compile PySide against some special version of Qt or can I use the regular binaries?
    The reason for using PySide is that I already have a fair amount of interfaces made that communicates against a middle layer. This way using PySide I only need to write a C4D version of the layer and all will work the same way as the other applications.



  • On 01/06/2013 at 09:07, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    Do I need to compile PySide against some special version of Qt or can I use the regular binaries?

    PySide is using QT 4.8. PySide is both OS and python version dependent. C4d is using python 
    version 2.6.x. The c4d python interpreter can be found at '\c4dfolder\resource\modules\python\res'
    in the 32 bit and 64 bit framework folder. C4d on its own has no connection to Qt or PySide at all.

    There are some examples on the PySide homepage which are click ready to go, i have only fooled
    around with PySide until now, so I can you tell not much more.


Log in to reply