summaryrefslogtreecommitdiff
path: root/qutebrowser/misc/elf.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/misc/elf.py')
-rw-r--r--qutebrowser/misc/elf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/misc/elf.py b/qutebrowser/misc/elf.py
index bf824880a..42442ff5f 100644
--- a/qutebrowser/misc/elf.py
+++ b/qutebrowser/misc/elf.py
@@ -67,7 +67,7 @@ import mmap
import pathlib
from typing import Any, IO, ClassVar, Dict, Optional, Tuple, cast
-from PyQt5.QtCore import QLibraryInfo
+from qutebrowser.qt import QtCore
from qutebrowser.utils import log, version
@@ -314,7 +314,7 @@ def parse_webenginecore() -> Optional[Versions]:
# Flatpak has Qt in /usr/lib/x86_64-linux-gnu, but QtWebEngine in /app/lib.
library_path = pathlib.Path("/app/lib")
else:
- library_path = pathlib.Path(QLibraryInfo.location(QLibraryInfo.LibrariesPath))
+ library_path = pathlib.Path(QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.LibrariesPath))
library_name = sorted(library_path.glob('libQt5WebEngineCore.so*'))
if not library_name: