[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] ld --no-add-needed patch for PyQT
From:       Scott Kitterman <debian () kitterman ! com>
Date:       2012-06-21 20:01:07
Message-ID: 4840871.lc7KFPO5Jj () scott-latitude-e6320
[Download RAW message or body]

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@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()")
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic