[PyQt] AttributeError: 'QScreen' object has no attribute 'handle'
Phil Thompson
phil at riverbankcomputing.com
Sat Apr 19 15:11:23 BST 2014
On 19-04-2014 2:30 pm, iMath wrote:
> I tested this on PyQt5 + WinXP
>
> print(QGuiApplication.primaryScreen().handle() )
>
> then
> AttributeError: 'QScreen' object has no attribute 'handle'
>
> but handle() do exist in Qt5
> http://qt-project.org/doc/qt-5/qscreen.html#handle [1]
...because it's type is an undocumented class.
Phil
More information about the PyQt
mailing list