From 5da4c6022ec424bfb37292fabe10fc8100f65b1b Mon Sep 17 00:00:00 2001 From: Philipp Albrecht Date: Fri, 21 Jul 2023 08:41:10 +0200 Subject: Add note on keeping qutebrowser.utils.log a Qt-free zone --- qutebrowser/utils/log.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qutebrowser/utils/log.py b/qutebrowser/utils/log.py index 7542dbd30..f2a6c396d 100644 --- a/qutebrowser/utils/log.py +++ b/qutebrowser/utils/log.py @@ -31,6 +31,9 @@ import argparse from typing import (TYPE_CHECKING, Any, Iterator, Mapping, MutableSequence, Optional, Set, Tuple, Union, TextIO, Literal, cast) +# NOTE: This is a Qt-free zone! All imports related to Qt logging should be done in +# qutebrowser.utils.qtlog (see https://github.com/qutebrowser/qutebrowser/issues/7769). + # Optional imports try: import colorama -- cgit v1.2.3-54-g00ecf