Skip to content

Commit

Permalink
Set package requirements to Qt 6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vkbo committed Jan 15, 2025
1 parent c760a22 commit 4b30ce0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions novelwriter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,14 @@ def main(sysArgs: list | None = None) -> GuiMain | None:
"At least Python 3.10 is required, found %s" % CONFIG.verPyString
)
errorCode |= 0x04
if CONFIG.verQtValue < 0x060000:
if CONFIG.verQtValue < 0x060400:
errorData.append(
"At least Qt6 version 6.0 is required, found %s" % CONFIG.verQtString
"At least Qt6 version 6.4 is required, found %s" % CONFIG.verQtString
)
errorCode |= 0x08
if CONFIG.verPyQtValue < 0x060000:
if CONFIG.verPyQtValue < 0x060400:
errorData.append(
"At least PyQt6 version 6.0 is required, found %s" % CONFIG.verPyQtString
"At least PyQt6 version 6.4 is required, found %s" % CONFIG.verPyQtString
)
errorCode |= 0x10

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers = [
]
requires-python = ">=3.10"
dependencies = [
"pyqt5>=5.15",
"pyqt6>=6.4",
"pyenchant>=3.0.0",
]
dynamic = ["version"]
Expand Down
4 changes: 2 additions & 2 deletions setup/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ Source: novelwriter
Maintainer: Veronica Berglyd Olsen <[email protected]>
Section: text
Priority: optional
Build-Depends: dh-python, python3-setuptools, python3-all, debhelper (>= 9), python3 (>=3.10), python3-pyqt5 (>= 5.15), python3-enchant (>= 2.0)
Build-Depends: dh-python, python3-setuptools, python3-all, debhelper (>= 9), python3 (>=3.10), python3-pyqt6 (>= 6.4), python3-pyqt6.qtsvg (>= 6.4), python3-enchant (>= 2.0)
Standards-Version: 4.5.1
Homepage: https://novelwriter.io
X-Python3-Version: >= 3.10

Package: novelwriter
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, python3 (>=3.10), python3-pyqt5 (>= 5.15), python3-enchant (>= 2.0)
Depends: ${misc:Depends}, ${python3:Depends}, python3 (>=3.10), python3-pyqt6 (>= 6.4), python3-pyqt6.qtsvg (>= 6.4), 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
Expand Down
2 changes: 1 addition & 1 deletion setup/debian/py3dist-overrides
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pyqt5 python3-pyqt5
pyqt6 python3-pyqt6

0 comments on commit 4b30ce0

Please sign in to comment.