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

Cody Scott cody at perspexis.com
Wed Mar 8 16:53:05 GMT 2017


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?



On Thu, Feb 16, 2017 at 1:29 PM, Cody Scott <cody at perspexis.com> wrote:

> I'm not even sure if this PyQt5 code should work. I believe an equivalent
> program in C++ would use http://doc.qt.io/qt-5/qtquick-qtquicktest.html#
> running-tests so
>
> As far as I can tell PyQt5 is missing an equivalent of QUICK_TEST_MAIN.
>
>
>
> On Thu, Feb 16, 2017 at 12:13 PM, Phil Thompson <
> phil at riverbankcomputing.com> wrote:
>
>> On 15 Feb 2017, at 9:44 pm, Cody Scott <cody at perspexis.com> wrote:
>> >
>> > Hey Phil,
>> >
>> > Thanks for releasing PyQt5==5.8!
>> >
>> > I just tried with the new wheels and I get
>> >
>> > module "Qt.test.qtestroot" is not installed
>> >
>> > https://gist.github.com/Siecje/c93f4faf15baa89d4fd0c9ff86d22a6a
>>
>> I get the same problem with an original Qt from the on-line installers.
>> That suggests a Qt (packaging?) bug.
>>
>> Phil
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170308/e1284968/attachment.html>


More information about the PyQt mailing list