[PyQt] Qt 5.4.2 / PyQt 5.4.2 snapshot-9ad1a251d97b build issue
Phil Thompson
phil at riverbankcomputing.com
Tue Jun 9 20:24:21 BST 2015
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
More information about the PyQt
mailing list