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

List:       pykde
Subject:    Re: PyQt6: SystemError in QWidget.setWindowFlags with FramelessWindowHint
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2021-04-25 9:56:29
Message-ID: 52c48b037677a9f8e897679beb98e320 () riverbankcomputing ! com
[Download RAW message or body]

On 22/04/2021 14:49, Ales Erjavec wrote:
> Hi,
> 
> The following example raises a SystemError in setWindowFlags call:
> ```
> from PyQt6.QtCore import Qt
> from PyQt6.QtWidgets import QApplication, QWidget
> 
> app = QApplication([])
> 
> w = QWidget()
> f = w.windowFlags()
> f = f | Qt.WindowType.FramelessWindowHint
> w.setWindowFlags(f)  # << error
> ```
> 
> Windows 10
> Python: 3.8.8
> PyQt6: 6.1.0.dev2104211125

This should be fixed in the current snapshot. It also requires a fix to 
the PyQt6.sip module. As the pre-release versions of this don't include 
a '.dev' suffix you will need to either uninstall it first or specify a 
forced reinstall.

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

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