diff --git a/docs/source/tech_source.rst b/docs/source/tech_source.rst index 87d616a3..9b100ebd 100644 --- a/docs/source/tech_source.rst +++ b/docs/source/tech_source.rst @@ -39,11 +39,9 @@ The following Python packages are needed to run all features of novelWriter: * ``PyQt5`` – needed for connecting with the Qt5 libraries. * ``PyEnchant`` – needed for spell checking (optional). -PyQt/Qt should be at least 5.10, but ideally 5.13 or higher for all features to work. For instance, -searching using regular expressions with full Unicode support requires 5.13. - -If you want spell checking, you must install the ``PyEnchant`` package. The spell check library -must be at least 3.0 to work with Windows. On Linux, 2.0 also works fine. +PyQt/Qt must be at least 5.15.0. If you want spell checking, you must install the ``PyEnchant`` +package. The spell check library must be at least 3.0 to work with Windows. On Linux, 2.0 also +works fine. If you install from PyPi, these dependencies should be installed automatically. If you install from source, dependencies can still be installed from PyPi with: @@ -55,7 +53,7 @@ source, dependencies can still be installed from PyPi with: .. note:: On Linux distros, the Qt library is usually split up into multiple packages. In some cases, secondary dependencies may not be installed automatically. For novelWriter, the library files - for renderring the SVG icons may be left out and needs to be installed manually. This is the + for rendering the SVG icons may be left out and needs to be installed manually. This is the case on for instance Arch Linux. diff --git a/novelwriter/__init__.py b/novelwriter/__init__.py index dde2ca29..cf1fa5c2 100644 --- a/novelwriter/__init__.py +++ b/novelwriter/__init__.py @@ -167,14 +167,14 @@ def main(sysArgs: list | None = None) -> GuiMain | None: "At least Python 3.8 is required, found %s" % CONFIG.verPyString ) errorCode |= 0x04 - if CONFIG.verQtValue < 0x050a00: + if CONFIG.verQtValue < 0x050f00: errorData.append( - "At least Qt5 version 5.10 is required, found %s" % CONFIG.verQtString + "At least Qt5 version 5.15.0 is required, found %s" % CONFIG.verQtString ) errorCode |= 0x08 - if CONFIG.verPyQtValue < 0x050a00: + if CONFIG.verPyQtValue < 0x050f00: errorData.append( - "At least PyQt5 version 5.10 is required, found %s" % CONFIG.verPyQtString + "At least PyQt5 version 5.15.0 is required, found %s" % CONFIG.verPyQtString ) errorCode |= 0x10 diff --git a/pyproject.toml b/pyproject.toml index b6d40d9d..de8d28ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ classifiers = [ ] requires-python = ">=3.8" dependencies = [ - "pyqt5>=5.10", + "pyqt5>=5.15", "pyenchant>=3.0.0", ] dynamic = ["version"] diff --git a/requirements.txt b/requirements.txt index af56101a..b6d30310 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -pyqt5>=5.10 +pyqt5>=5.15 pyenchant>=3.0.0 diff --git a/setup/debian/control b/setup/debian/control index 556a5051..10481e32 100644 --- a/setup/debian/control +++ b/setup/debian/control @@ -2,14 +2,14 @@ Source: novelwriter Maintainer: Veronica Berglyd Olsen Section: text Priority: optional -Build-Depends: dh-python, python3-setuptools, python3-all, debhelper (>= 9), python3 (>=3.8), python3-pyqt5 (>= 5.10), python3-enchant (>= 2.0) +Build-Depends: dh-python, python3-setuptools, python3-all, debhelper (>= 9), python3 (>=3.8), python3-pyqt5 (>= 5.15), python3-enchant (>= 2.0) Standards-Version: 4.5.1 Homepage: https://novelwriter.io X-Python3-Version: >= 3.8 Package: novelwriter Architecture: all -Depends: ${misc:Depends}, ${python3:Depends}, python3 (>=3.8), python3-pyqt5 (>= 5.10), python3-enchant (>= 2.0) +Depends: ${misc:Depends}, ${python3:Depends}, python3 (>=3.8), python3-pyqt5 (>= 5.15), python3-enchant (>= 2.0) Description: A markdown-like text editor for planning and writing novels novelWriter is a plain text editor designed for writing novels assembled from many smaller text documents. It uses a minimal formatting syntax inspired by diff --git a/setup/launchpad_setup.cfg b/setup/launchpad_setup.cfg index df0af65a..a2757b71 100644 --- a/setup/launchpad_setup.cfg +++ b/setup/launchpad_setup.cfg @@ -34,7 +34,7 @@ python_requires = >=3.8 include_package_data = True packages = find_namespace: install_requires = - pyqt5>=5.10 + pyqt5>=5.15 pyenchant>=3.0.0 [options.packages.find]