ok first problem I bumped into.... I supposed to translate my .ui file to .py via a translator ( http://qt-project.org/wiki/QtCreator_and_PySide )
1. pyside-uic mainwindow.ui -o mainwindow.py the closest I found to this is: \Autodesk\Maya2014\Python\Lib\site-packages\pysideuic\pyside-uic.1 but that does not do the job..... do I need to install pyside? Or (very likely) missing something? Gyuri On 17 July 2014 17:05, Justin Israel <[email protected]> wrote: > My favorite source of docs has been keeping the Qt Assistant app running > while I code (comes with the Qt install). It is really simple to mentally > translate the C++ syntax to PySide. Whenever they list special *List* > return types, or instance, you know you will just get back a list. I > usually have that up with the "Index" tab selected so I can search for > types, which I can never remember :-) > > > > On Thu, Jul 17, 2014 at 9:02 PM, Gyurma <[email protected]> wrote: > >> I'm happy not to start to build/compile (as I have very little >> experience. Ok so I need to look for some docs... >> >> Thanks! >> Gyuri >> >> >> On 17 July 2014 16:53, Erkan Özgür Yılmaz <[email protected]> wrote: >> >>> PyQt4 and PySide are the same essentially and 99% of your code will work >>> both in PyQt4 and PySide without any modification. So, my suggestion is to >>> not to bother installing PyQt4 and go with PySide. >>> >>> Ozgur >>> eoyilmaz.blogspot.com >>> On Jul 17, 2014 11:21 AM, "Gyurma" <[email protected]> wrote: >>> >>>> Thank you, >>>> >>>> I'll have a go at that. >>>> @Erkan Özgür Yılmaz >>>> <https://plus.google.com/u/0/103947555827441509448?prsrc=4> no there >>>> is no particular reason only that I'm not a programmer and started with qt, >>>> qt designer under linux and familiar with it. that's all. >>>> >>>> Thanks, >>>> Gyuri >>>> >>>> >>>> On 17 July 2014 13:00, Justin Israel <[email protected]> wrote: >>>> >>>>> If you are using a standard install of PyQt within Maya, it has the >>>>> potential to produce undefined results. It expects to be compiled against >>>>> the same Qt version as Maya, which is also a modified version by Autodesk. >>>>> On 17/07/2014 4:16 PM, "Siew Yi Liang" <[email protected]> wrote: >>>>> >>>>>> I actually just copy the directories from PyQt4 from >>>>>> /lib/site-packages to Maya's own Python directory at: >>>>>> >>>>>> C:\Program Files\Autodesk\Maya2013\Python\Lib\site-packages >>>>>> >>>>>> It seems to be the most reliable result for me so far (using pyqt.pth >>>>>> files sometimes works/doesn't work based off the user PYTHONPATH env var, >>>>>> and I haven't bothered to figure out what exactly goes wrong, so I've >>>>>> taken >>>>>> to doing this instead for users and just running a robocopy batch script >>>>>> over the network for coworkers to copy over the necessary dependencies.) >>>>>> >>>>>> Hope that helps! >>>>>> >>>>>> Yours sincerely, >>>>>> Siew Yi Liang >>>>>> >>>>>> On 7/16/2014 7:37 PM, Erkan Özgür Yılmaz wrote: >>>>>> >>>>>> Is there any particular reason why you are not using PySide instead. >>>>>> It is already shipping with Maya, no need to compile anything. >>>>>> >>>>>> Ozgur >>>>>> eoyilmaz.blogspot.com >>>>>> On Jul 17, 2014 5:31 AM, "Fredrik Averpil" <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> You'll have to compile PyQt: >>>>>>> >>>>>>> http://download.autodesk.com/us/support/files/maya_documentation/pyqtmaya2014.pdf >>>>>>> >>>>>>> Sent from my iPhone >>>>>>> >>>>>>> On tors, jul 17, 2014 at 3:52 fm, Gyurma <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I'm not very familiar with how to set this up, I read a few things >>>>>>> downloaded pyqt, installed but obviously not done it right because it >>>>>>> does >>>>>>> not work under maya. >>>>>>> >>>>>>> when I do a simple >>>>>>> >>>>>>> from PyQt4 import QtCore, QtGui >>>>>>> >>>>>>> it just says no such module. Probably missing some env var? Not sure >>>>>>> as I never tried such setup but would be keen to use pyqt. >>>>>>> >>>>>>> I'd really appreciate some help. >>>>>>> >>>>>>> Thank You >>>>>>> Gyuri >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Python Programming for Autodesk Maya" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/python_inside_maya/CAFHVYoSLHcoTcStZRMntddTvd9R6L7KMdXP4yH91289R3qiESg%40mail.gmail.com >>>>>>> <https://groups.google.com/d/msgid/python_inside_maya/CAFHVYoSLHcoTcStZRMntddTvd9R6L7KMdXP4yH91289R3qiESg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Python Programming for Autodesk Maya" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/python_inside_maya/cacdfdb4d20f0b254138eee5e044b7%40ip-10-0-3-241 >>>>>>> <https://groups.google.com/d/msgid/python_inside_maya/cacdfdb4d20f0b254138eee5e044b7%40ip-10-0-3-241?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Python Programming for Autodesk Maya" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/python_inside_maya/CAGNmyx78A5tX%2BVBVbC8ixS8dxbsSL5MFkdNaWXtnv7a-2HvcMg%40mail.gmail.com >>>>>> <https://groups.google.com/d/msgid/python_inside_maya/CAGNmyx78A5tX%2BVBVbC8ixS8dxbsSL5MFkdNaWXtnv7a-2HvcMg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Python Programming for Autodesk Maya" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/python_inside_maya/53C74DA8.3080405%40gmail.com >>>>>> <https://groups.google.com/d/msgid/python_inside_maya/53C74DA8.3080405%40gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Python Programming for Autodesk Maya" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0bKTiexqPMGYLs2Xg_nu_BR3iAoxOmyiL7cv7QvA3nEg%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0bKTiexqPMGYLs2Xg_nu_BR3iAoxOmyiL7cv7QvA3nEg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>>> >>>> -- >>>> Gyuri Kiss >>>> www.gyurma.com >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Python Programming for Autodesk Maya" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/python_inside_maya/CAFHVYoT8GQFQu0h2ExTDdWmHTo%2BgUbk-3MVkHCXsudmtNOOjcQ%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/python_inside_maya/CAFHVYoT8GQFQu0h2ExTDdWmHTo%2BgUbk-3MVkHCXsudmtNOOjcQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Python Programming for Autodesk Maya" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/CAGNmyx6-0qVJ3LzYrYZE%2B2A0qC1RP7yX120mXgLASVVoc1Rxpg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/python_inside_maya/CAGNmyx6-0qVJ3LzYrYZE%2B2A0qC1RP7yX120mXgLASVVoc1Rxpg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Gyuri Kiss >> www.gyurma.com >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/CAFHVYoTV4gre%2BEY8ck%2BiJt4UbZvDWky9p7EgmFQ%3D38L6_YRe8w%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CAFHVYoTV4gre%2BEY8ck%2BiJt4UbZvDWky9p7EgmFQ%3D38L6_YRe8w%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA17z3dyJ0224s%2BpoUCpPFH8OV0fMifhoCronsiaGL7_eg%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA17z3dyJ0224s%2BpoUCpPFH8OV0fMifhoCronsiaGL7_eg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Gyuri Kiss www.gyurma.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFHVYoT7KG%2BLoK4%3DHFUYP_Ye8Vb9OKBcJuB1SxRHJ4L4xcKaDw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
