I just thought of something... Do you think the helper library should try and set the sip api to v2 for PyQt4, if it can? Otherwise it still wouldn't be seemless with PySide (QString, QVariant). There are circumstances I have encountered where it can't force the sip version. Specifically Maya being one of those... where someone elses library may have been imported before yours and forced it to v1.
On Wed, Jun 1, 2016 at 9:31 AM Tony Barbieri <great...@gmail.com> wrote: > Yes, thank you for sharing! > > On Tue, May 31, 2016 at 2:19 PM, Justin Israel <justinisr...@gmail.com> > wrote: > >> Nice work guys! >> >> On Wed, Jun 1, 2016 at 8:36 AM Marcus Ottosson <konstrukt...@gmail.com> >> wrote: >> >>> Me and Fredrik Averpil wrote this for our GUIs and figured we’d make it >>> general enough for most things. >>> >>> - https://github.com/mottosso/Qt.py >>> >>> Let me know what you think. >>> >>> *Example* >>> >>> $ pip install Qt.py >>> $ python>>> import sys>>> from Qt import QtWidgets>>> app = >>> QtWidgets.QApplication(sys.argv)>>> button = QtWidgets.QPushButton("Hello >>> World")>>> button.show()>>> app.exec_() >>> >>> *Example project* >>> >>> - https://github.com/pyblish/pyblish-lite >>> >>> >>> -- >>> *Marcus Ottosson* >>> konstrukt...@gmail.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 python_inside_maya+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOANqQ2MZiQdXGea7jmhCKK5Y%2BvTUwxuvKhMFc%2B99VR8sA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOANqQ2MZiQdXGea7jmhCKK5Y%2BvTUwxuvKhMFc%2B99VR8sA%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 python_inside_maya+unsubscr...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0f_D4oD7k9J%3DQ1Muw61bhdGvf6r_h8XcctsQ0zsyPBpQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0f_D4oD7k9J%3DQ1Muw61bhdGvf6r_h8XcctsQ0zsyPBpQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . > > >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Tony > > -- > 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 python_inside_maya+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAJhmvsSFeT_O6w4-tzbON4zwwr0OZWWt5RSnnSRWb4PhCWHAdw%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAJhmvsSFeT_O6w4-tzbON4zwwr0OZWWt5RSnnSRWb4PhCWHAdw%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 python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2puEPr3B8QXppZn%3DnN45KeaFLzDgbwgrPmH%3DdhCZeqiw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.