From pykde Thu Feb 22 16:49:19 2024 From: Phil Thompson Date: Thu, 22 Feb 2024 16:49:19 +0000 To: pykde Subject: Re: PyQt6 and QWindowCapture Message-Id: <9374bc74ff7be45bceb667278981c603 () riverbankcomputing ! com> X-MARC-Message: https://marc.info/?l=pykde&m=170862045805864 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