[PyQt] Test pyqtdeploy with wiggly.py
Phil Thompson
phil at riverbankcomputing.com
Sun Mar 30 19:02:46 BST 2014
On 29-03-2014 9:11 am, Charlie Gentil wrote:
> Hi,
>
> I continue to test pyqtdeploy.
>
> I build Python, Qt, SIP and PyQt with static libraries in /home/dev/
> .
>
>
> I am currently doing a test with wiggly.py as in doc.
>
> Here is the error when I run make.
>
> Note:
>
> - qmk point to qmake with which I built PyQt.
>
> - I do not understand why elements are searched in
> /home/charlie/Documents/Python-3.4.0 (folder where I unpacked the
> sources of Python)
I can't explain that - but it's not the cause of the problem below.
However there is something odd going on with the handling of relative
pathnames on the Python Configuration tab.
> [charlie at charlie builddir]$ qmk
>
> RCC: Warning: No resources in 'application.qrc'.
>
> [charlie at charlie builddir]$ make
...snip...
> g++ -Wl,-O1 -o wiggly main.o pyqtdeploy_main.o mfsimport.o
> wiggly_plugin_import.o qrc_application.o qrc_stdlib.o
> qrc_site-packages.o
> -L/home/dev/python/lib/python3.4/site-packages/PyQt5
> -L/home/dev/python/lib/python3.4/site-packages -lQtGui -lQtWidgets
> -lQtCore -lsip -L/home/dev/python/lib -lpython3.4m -L/home/dev/qt/lib
> -lQt5Widgets -lgobject-2.0 -L/home/dev/qt/plugins/platforms -lqxcb
> -lX11-xcb -lXi -lxcb-render-util -lSM -lICE -lxcb-glx -lxcb-render
> -lxcb-keysyms -ldbus-1 -lxcb -lxcb-image -lxcb-icccm -lxcb-sync
> -lxcb-xfixes -lxcb-shm -lxcb-randr -lxcb-shape -lxcb-xkb -lxkbcommon
> -lQt5PlatformSupport -lfontconfig -lfreetype -lXrender -lXext -lX11
> -ludev -lmtdev -lQt5DBus -lQt5Gui -ljpeg -lpng -lEGL -lQt5Core -lz
> -licui18n -licuuc -lpcre16 -lm -ldl -lgthread-2.0 -pthread -lglib-2.0
> -lrt -lGL -lpthread
>
> /home/dev/python/lib/libpython3.4m.a(posixmodule.o): dans la fonction
> « posix_openpty »:
>
> /home/charlie/Documents/Python-3.4.0/./Modules/posixmodule.c:6000:
> référence indéfinie vers « openpty »
>
> /home/dev/python/lib/libpython3.4m.a(posixmodule.o): dans la fonction
> « posix_forkpty »:
>
> /home/charlie/Documents/Python-3.4.0/./Modules/posixmodule.c:6089:
> référence indéfinie vers « forkpty »
>
> collect2: erreur: ld a retourné 1 code d'état d'exécution
>
> Makefile:244: recipe for target 'wiggly' failed
>
> make: *** [wiggly] Error 1
Edit the generated Makefile and add -lutil to the end of the LIBS line.
I need a way to automatically add these platform specific dependencies.
Phil
More information about the PyQt
mailing list