On Tue, Jun 6, 2017, 7:30 AM Timothy Eckstein <[email protected]> wrote:
> Thanks for the suggestion and pointing me to Chad Vernon's tutorials. I > have successfully built a "Hello World" plugin for Maya. The plugin I've > been tasked with making is far more complex requiring QT and all that (not > normal QT, mind you, the special flavor of QT used by Maya). So I've been > trying to include QT using the instructions found here: > http://doc.qt.io/qt-5/cmake-manual.html but no success. You wouldn't > happen to have any insights? > > *fatal error: **'QWidget' file not found* > > #include <QWidget> > > * ^* > > 1 error generated. > This style of include is for Qt4. In Qt5 they moved the widgets into a new module. http://doc.qt.io/qt-5/qtwidgets-index.html #include <QtWidgets> -- > 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/ad4ffbc1-65bb-42a5-95b1-53ce6130477b%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/ad4ffbc1-65bb-42a5-95b1-53ce6130477b%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/CAPGFgA3MMr2HN4z%3Ds-Y1q%3DNFQ7P5KfY2EgQvPhCr041bPhjGBw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
