Comment 2 for bug 828304

Revision history for this message
Jason Conti (jconti) wrote :

I'm getting the same build failure here. It seems to be caused by the sip4 package not being updated for http://wiki.debian.org/ToolChain/DSOLinking . Here's the relevant method in siputils.py:

 851 def platform_lib(self, clib, framework=0):
 852 """Return a library name in platform specific form.
 853
 854 clib is the library name in cannonical form.
 855 framework is set of the library is implemented as a MacOS framework.
 856 """
 857 ##################################################################
 858 # Generally, the linker is intelligent enough not to need this #
 859 # additional information! #
 860 # And Qt4's pkg-config and prl files are broken #
 861 # Changed for Debian packaging, Torsten Marek <email address hidden> #
 862 ##################################################################
 863
 864 return []
 865
 866 if self.generator in ("MSVC", "MSVC.NET", "MSBUILD", "BMAKE"):
 867 plib = clib + ".lib"
 868 elif sys.platform == "darwin" and framework:
 869 plib = "-framework " + clib
 870 else:
 871 plib = "-l" + clib
 872
 873 return plib

Commenting out line 864 includes -lQtGui -lQtCore when building progress_indicator.so and allows the build to complete successfully.