[PyQt] PyQt5==5.7.1 Missing libQt5QuickTest.so.5

Cody Scott cody at perspexis.com
Tue Mar 14 16:20:08 GMT 2017


The types defined in C++ need to be registered before calling
QUICK_TEST_MAIN()

https://github.com/qt/qtquickcontrols/blob/5.8/src/controls/plugin.cpp#L159

Sorry if I don't understand your question.

On Sat, Mar 11, 2017 at 1:59 PM, Phil Thompson <phil at riverbankcomputing.com>
wrote:

> On 8 Mar 2017, at 4:53 pm, Cody Scott <cody at perspexis.com> wrote:
> >
> > It seems that you can't do this. Qt handles QuickTest specially. It
> won’t load the package if the program is not started via QUICK_TEST_MAIN.
> >
> > Is this something that PyQt5 is missing because there is no sip wrapper
> for QUICK_TEST_MAIN?
> >
> > Is there another way to run QML tests with a type registered in Python?
>
> How does the C++ implementation of registered types get loaded when using
> QUICK_TEST_MAIN?
>
> Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170314/eb1c992f/attachment.html>


More information about the PyQt mailing list