Re: "Assertion failed: object has negative ref count" when running sip-build with python3.8-dbg
Dmitry Shachnev <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
Hi Phil! On Fri, Mar 13, 2020 at 12:22:07PM +0000, Phil Thompson wrote: > Should be fixed in the next release of PyQt-builder. Your change is not enough, but adding install_subtargets to distinfo.depends seems to finally fix it. -- Dmitry Shachnev _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt
install_subtargets.diff
(text/x-diff, 566 B)
diff --git a/pyqtbuild/builder.py b/pyqtbuild/builder.py
index d856f1f..d6a4a77 100644
--- a/pyqtbuild/builder.py
+++ b/pyqtbuild/builder.py
@@ -192,7 +192,7 @@ class QmakeBuilder(Builder):
args.append(self.qmake_quote(project.get_distinfo_dir(target_dir)))
- pro_lines.append('distinfo.depends = {}'.format(
+ pro_lines.append('distinfo.depends = install_subtargets {}'.format(
' '.join(
['install_' + installable.name
for installable in project.installables])))