[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: PyQt6 ValueError in QWidget.windowFlags
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2021-04-21 10:26:27
Message-ID: 94752c6b7e275b93dc8fbf2ff01a14a7 () riverbankcomputing ! com
[Download RAW message or body]

On 21/04/2021 10:38, Ales Erjavec wrote:
> Hi,
> 
> The following code fails with a 'ValueError ... is not a WindowType'
> in `windowFlags()` call:
> ```
> from PyQt6.QtCore import Qt
> from PyQt6.QtWidgets import QApplication, QWidget
> 
> app = QApplication([])
> 
> w = QWidget()
> w.windowFlags()  # << error
> ```
> 
> Windows 10
> Python 3.8.8
> PyQt6 6.1.0.dev2104191430

Should be fixed in the next snapshot.

Thanks,
Phil
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic