[PyQt] Does PyQt5 have QUICK_TEST_MAIN?

Cody Scott cody at perspexis.com
Fri Jan 27 15:11:42 GMT 2017


I'm trying to test a QML component that is defined in Python and registered
using QtQml.qmlRegisterType().

Does PyQt5 have QUICK_TEST_MAIN?
http://doc.qt.io/qt-5/qtquick-qtquicktest.html#running-tests

https://gist.github.com/Siecje/c93f4faf15baa89d4fd0c9ff86d22a6a#file-test_qml-py

I think you need QUICK_TEST_MAIN to get the nice test output like
qmltestrunner.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170127/8f6f050f/attachment.html>


More information about the PyQt mailing list