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

List:       pykde
Subject:    Re: PyQt6 and QWindowCapture
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2024-02-22 16:49:19
Message-ID: 9374bc74ff7be45bceb667278981c603 () riverbankcomputing ! com
[Download RAW message or body]

On 22/02/2024 16:41, Jason Hallen wrote:
> That's great to hear. I wonder what's going wrong for me then. When
> importing the class I get this error:
> 
> ImportError: cannot import name 'QWindowCapture' from 
> 'PyQt6.QtMultimedia'
> (/Users/hallenj/miniconda3/envs/csound/lib/python3.11/site-packages/PyQt6/
> QtMultimedia.abi3.so)
> 
> I've got the 6.5.1 version. Is there a different version or a 
> particular
> distribution of PyQt6 I should be using?

As QWindowCapture was added to Qt v6.6 then you need PyQt v6.6 at least.

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

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