From e2246aa00443c63af5c1953693c39ff8ff64f512 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" Date: Fri, 17 May 2019 09:45:48 +0200 Subject: [PATCH] Check that PyQt5.QtSvg can be imported, although the one place it's currently used it's redundant. Will need it alter anyway. --- novelWriter.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/novelWriter.py b/novelWriter.py index f996e471..ea769c11 100755 --- a/novelWriter.py +++ b/novelWriter.py @@ -11,6 +11,12 @@ except: print("ERROR: Failed to load dependency python3-pyqt5") exit(1) +try: + import PyQt5.QtSvg +except: + print("ERROR: Failed to load dependency python3-pyqt5.qtsvg") + exit(1) + try: import lxml except: