On Tue, Jul 31, 2018, 8:22 AM Ruchit Bhatt <[email protected]> wrote:
> I did few test with QQMLAPPLICATIONENGINE outside Maya & everything works > fine. Problem with Maya is, If I use > app = QApplication(sys.argv) > > Maya give a error > # Error: RuntimeError: A QApplication instance already exists. # > > I have no idea how to show QQmlApplicationEngine window in Maya..Many > people use QQuickView.show() but I found QQmlApplicationEngine is more > powerful than QQuickView. > Maya already has a QApplication instance running. So I would think you just create the engine and load your file. > -- > 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/27876642-e29c-4aa7-b323-7d17fc80ec62%40googlegroups.com > . > 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/CAPGFgA1s86ebYpxnHGFPVfP5jUpWWC8uO9GXQ%2BoTD0Y_MVw1Ew%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
