[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: QThreadPool missing contains
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2023-01-18 22:19:53
Message-ID: f3d456e686b1ba299ae3e3356e2c163c () riverbankcomputing ! com
[Download RAW message or body]
It was added to Qt v5.15.1, another example of Qt breaking their
compatibility rules.
I may add it to the next PyQt5 release but I need to work out the
implications for PyQt-builder.
Phil
On 18/01/2023 17:36, henry.wede@yahoo.com wrote:
> Oops, I was looking at the wrong documentation.Thanks for pointing that
> out.
>
> On Wednesday, January 18, 2023 at 09:27:40 AM MST, Juan José Gómez
> Romera <jjgomera@gmail.com> wrote:
>
> As you can see here, QThreadPool.contains was introduced in Qt6, so
> it don't exist in Qt5
>
> El mar, 17 ene 2023 a las 21:26, henry.wede@yahoo.com
> (<henry.wede@yahoo.com>) escribió:
>
> Hello,
> Is QThreadPool missing "contains" or am I doing something wrong?
>
>>>> from PyQt5.QtCore import QThreadPool, QRunnable>>> TP =
>>>> QThreadPool()>>> Check = TP.contains(Whatever)Traceback (most recent
>>>> call last): File "<stdin>", line 1, in <module>AttributeError:
>>>> 'QThreadPool' object has no attribute 'contains'
>
> Yes, I have tried it with "proper code" and the result is the same.
> Thanks for your insight.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic