[PyQt] Qt 5.4.2 / PyQt 5.4.2 snapshot-9ad1a251d97b build issue

Alexander Zaech alexander.zaech at bytehunter.de
Tue Jun 9 20:52:14 BST 2015


Thanks Phil,

indeed it seems to be a Qt problem! I used the online installer at first, after removing my installation and using the offline installer all seems to work.

Many thanks for your help.

Best regards,
Alex

--
Alexander Zäch



> Am 09.06.2015 um 21:24 schrieb Phil Thompson <phil at riverbankcomputing.com>:
> 
> On 09/06/2015 6:34 pm, Alexander Zaech wrote:
>> Hi folks,
>> building PyQt 5.4.2 snapshot-9ad1a251d97b on MacOS 10.10.3 using Qt
>> 5.4.2 with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
>> 3.6.0svn) Target: x86_64-apple-darwin14.3.0 result in some strange
>> warnings:
>> ld: warning: directory not found for option
>> ‚-F/work/build/______________________________PADDING______________________________/lib'
>> The complete build log is available here
>> https://dl.dropboxusercontent.com/u/164350/EX/buildlog.txt
>> Later, when running an application containing for example
>> from PyQt5.QtGui import QIcon
>> the following error is shown:
>> ImportError:
>> dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt5/QtGui.so,
>> 2): Library not loaded:
>> /work/build/______________________________PADDING______________________________/lib/QtCore.framework/Versions/5/QtCore
>> Referenced from:
>> /Users/Alex/Qt/5.4/clang_64/lib/QtGui.framework/Versions/5/QtGui
>> Reason: image not found
>> Sure, there is no directory like
>> /work/build/______________________________PADDING______________________________/lib
>> … but where did this come from?
>> The following command is used to configure PyQt: python3 configure.py
>> —qmake=/Users/Alex/Qt/5.4/clang_64/bin/qmake
>> Python3 is located in
>> /Library/Frameworks/Python.framework/Versions/3.4/bin/python3 and is
>> version 3.4.3
>> Any clue about this and how to workaround it? By the way, same issue
>> occur when using PyQt 5.4.1.
> 
> My guess is it's a problem with your Qt build. The PADDING thing should be overwritten by the location Qt will be installed to when Qt is compiled.
> 
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150609/5acea8ed/attachment.sig>


More information about the PyQt mailing list