[PATCH] setup: add a missing QT_API import

2 views
Skip to first unread message

Matt Harbison

unread,
Apr 11, 2022, 6:39:23 PM4/11/22
to thg...@googlegroups.com
# HG changeset patch
# User Matt Harbison <matt_h...@yahoo.com>
# Date 1649716540 25200
# Mon Apr 11 15:35:40 2022 -0700
# Node ID bd8a161b8a7dc47e8782cf95dc60277a84926081
# Parent 619fb61a985ea0c2b006037a53fed8dcbdbdc838
setup: add a missing QT_API import

This broke in e234bc23f052.

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -563,6 +563,8 @@
[os.path.join(root, f) for f in os.listdir(root)
if f.endswith('.ico') or f == 'README.txt']))

+ from tortoisehg.hgqt.qtcore import QT_API
+
# for PyQt, see http://www.py2exe.org/index.cgi/Py2exeAndPyQt
if QT_API == 'PyQt6':
includes = ['PyQt6.sip']

Yuya Nishihara

unread,
Apr 12, 2022, 5:02:59 AM4/12/22
to Matt Harbison, thg...@googlegroups.com
On Mon, 11 Apr 2022 18:39:20 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_h...@yahoo.com>
> # Date 1649716540 25200
> # Mon Apr 11 15:35:40 2022 -0700
> # Node ID bd8a161b8a7dc47e8782cf95dc60277a84926081
> # Parent 619fb61a985ea0c2b006037a53fed8dcbdbdc838
> setup: add a missing QT_API import

Queued, thanks.
Reply all
Reply to author
Forward
0 new messages