[PyQt] ld --no-add-needed patch for PyQT

Scott Kitterman debian at kitterman.com
Thu Jun 21 21:01:07 BST 2012


In Debian/Ubuntu we're currently carrying this patch that I think should be 
upstreamed.  I missed sending it in before.

Scott K

Description: Fix QtHelp FTBFS with ld --no-add-needed.
Author: Felix Geyer <debfx-pkg at fobos.de>

Index: python-qt4-4.9.2/configure.py
===================================================================
--- python-qt4-4.9.2.orig/configure.py  2012-06-21 15:50:51.000000000 -0400
+++ python-qt4-4.9.2/configure.py       2012-06-21 15:56:58.711290073 -0400
@@ -358,7 +358,8 @@
         pyqt_modules.append("QtCore")

         check_module("QtGui", "qwidget.h", "new QWidget()")
-        if qt_version < 0x050000: check_module("QtHelp", "qhelpengine.h", 
"new QHelpEngine(\"foo\")")
+        if qt_version < 0x050000: check_module("QtHelp", "qhelpengine.h", 
"new QHelpEngine(\"foo\")",
+                extra_libs=["QtCore"])
         if qt_version < 0x050000: check_module("QtMultimedia", 
"QAudioDeviceInfo",
                 "new QAudioDeviceInfo()")
         if qt_version < 0x050000: check_module("QtNetwork", "qhostaddress.h", 
"new QHostAddress()")


More information about the PyQt mailing list