[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Qt6 WebEngine: Can't combine QWebEngineUrlScheme.Flag
From: Florian Bruhin <me () the-compiler ! org>
Date: 2021-08-26 15:00:39
Message-ID: 20210826150039.melvekqlhm5xdetb () aragog ! localdomain
[Download RAW message or body]
Hi,
I could indeed install PyQt6's QtWebEngine with --no-deps and now trying
to get qutebrowser to run with it (at least as a quick and dirty hack) :)
Here's a first issue I found:
>>> from PyQt6.QtWebEngineCore import QWebEngineUrlScheme
>>> QWebEngineUrlScheme.Flag.LocalScheme
<Flag.LocalScheme: 2>
>>> QWebEngineUrlScheme.Flag.LocalAccessAllowed
<Flag.LocalAccessAllowed: 4>
>>> QWebEngineUrlScheme.Flag.LocalScheme | QWebEngineUrlScheme.Flag.LocalAccessAllowed
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.9/enum.py", line 384, in __call__
return cls.__new__(cls, value)
File "/usr/lib/python3.9/enum.py", line 702, in __new__
raise ve_exc
ValueError: 6 is not a valid QWebEngineUrlScheme.Flag
Thanks,
Florian
--
me@the-compiler.org | https://www.qutebrowser.org
https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic