I've got a feeling the OP was interested in a comparison between Maya's UI framework, and Qt, rather than Qt with C++ versus Qt with Python. Not sure, need a bit more information.
On 2 November 2017 at 18:58, Joe Weidenbach <[email protected]> wrote: > Adding to what Justin said, the primary benefit of using C++ for Qt is > that you’re in the native language of Qt. There *are* things you can do > in C++ that you can’t do as easily in Python, and some of the lower-level > operations are more tricky in Python because of that. But that’s all on the > technical side, not the UI functionality side. Also, if you’re not already > comfortable developing in C/C++, it’s going to be a much steeper learning > curve to go to that, especially from an interpreted language like Python. > In short, if you prefer direct control and management of your memory (and > are comfortable with the challenges that entails), C++ is the answer. If > you prefer to leave that to the system and just want an amazing UI, one of > the other options (like Python) is likely going to be your ticket. > > When it comes down to it, it’s far more important to be proficient in the > language you choose than to choose the right language. The Qt Framework as > a whole provides the UI functionality, the language you use is just what > will help you get there. Additionally, the actual decisions of what you’re > doing with your program will tend to be far more important to this choice > than the UI framework you use — decisions such as which libraries you want > to use, how you want your program to run, memory persistence, etc. > > As to the Qt Designer vs hand-coding debate, the only thing you really > gain from hand-coding is knowledge of how everything works. Also, if > something doesn’t work correctly, it’s more direct to identify the problem > and fix it. Other than that, everything you do in Designer ends up compiled > down to the same code at runtime, so you’re not limited in actual > functionality because of that choice. > > Joe > > > On Fri, Nov 3, 2017 at 7:25 AM Justin Israel <[email protected]> > wrote: > >> Hi, >> >> I am not sure what resources you have been reading, but there is not >> going to be a difference in what kind of functionality you can accomplish >> in your UI, by switching to C++ Qt over Python (PyQt/PySide). Nor is there >> any difference whether you use Qt Designer or not. It is all the same Qt >> framework regardless of the programming language language. You can build >> complex behaviour either way. >> >> C++ may offer benefits over python in certain situations where >> performance becomes a concern. This could be situations like intense >> painting operations, or iterating huge models or data sets. >> >> If you are much more comfortable programming in C++, then use that. If >> you enjoy python, and want the faster prototyping of an interpreted >> language, use Python. >> >> Justin >> >> >> On Fri, Nov 3, 2017, 3:22 AM Adam Baker <[email protected]> wrote: >> >>> reference image >>> >>> On Thursday, 2 November 2017 10:01:31 UTC-4, Adam Baker wrote: >>>> >>>> Hey all, >>>> >>>> I haven't seen much posted about building more complex UI's with >>>> Python. I've been trying to learn how build "changing" UI ( building UI's >>>> that can collapsing based on the users needs). In this research most of the >>>> document and tutorials point to me switching and used QT and QT designer >>>> instead of the build in Python syntax. If anyone can help me, either with >>>> pointing me in the right direction or letting me know if I should switch to >>>> using QT instead ( positives and negatives of using QT). >>>> >>>> >>>> -Adam B. >>>> >>>> -- >>> 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/19788377-b01f-4f89-81a3- >>> aae38af35c25%40googlegroups.com >>> <https://groups.google.com/d/msgid/python_inside_maya/19788377-b01f-4f89-81a3-aae38af35c25%40googlegroups.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/CAPGFgA3K_C5owVbNtfaiSAg9kQhJ% >> 3DBCPPSm1O1VACwuGMsuw_Q%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3K_C5owVbNtfaiSAg9kQhJ%3DBCPPSm1O1VACwuGMsuw_Q%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/CAM33%3Da50prCOh37g-jC0io6azMSJ_ > jGYHFjXBF3fWPymukaoxA%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAM33%3Da50prCOh37g-jC0io6azMSJ_jGYHFjXBF3fWPymukaoxA%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/CAFRtmOBN0UUKZAqgBA9tw1WDE5jG-jKHv9RwmazF9RTBbimvyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
