[PyQt] QtDBus dependency on OS X

Florian Bruhin me at the-compiler.org
Mon Oct 19 05:15:55 BST 2015


Hi,

when Qt is built with -no-dbus on OS X, the PyQt build fails during
linking:

	/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -undefined dynamic_lookup -install_name /usr/local/Cellar/pyqt5/5.5_1/lib/python3.5/site-packages/PyQt5/QtGui.so -framework QtPrintSupport -framework QtDBus -framework QtWidgets ...
	ld: framework not found QtDBus
	clang: error: linker command failed with exit code 1 (use -v to see invocation)
	make[1]: *** [libQtGui.dylib] Error 1
	make: *** [sub-QtGui-make_first-ordered] Error 2

This broke the Homebrew PyQt5 package because DBus was disabled there:

https://github.com/Homebrew/homebrew/issues/45114

Patching configure.py to exclude "-framework QtDBus" fixes this and
results in an apparently working PyQt:

https://github.com/Homebrew/homebrew/compare/master...UniqMartin:pyqt5-no-dbus

Is this intentional?

Thanks,

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20151019/91e420a2/attachment.sig>


More information about the PyQt mailing list