[PyQt] PyQt 5.1.1 and Qt 5.2.0 beta

Selim Tuvi selim.tuvi at dreamworks.com
Tue Nov 5 22:36:46 GMT 2013


Now I am getting the following error:

g++ -Wl,-O1 -Wl,-rpath,/usr/pic1/qt-5.2.0b1/lib -shared -o libpyqt5.so
pluginloader.o moc_pluginloader.o  -L/usr/pic1/opt/python/2.7.3/lib
-lpython2.7 -L/usr/pic1/qt-5.2.0b1/lib -lQt5Designer -lQt5Widgets -lQt5Xml
-lQt5Gui -lQt5Core -lGL -lpthread
/usr/bin/ld: /usr/pic1/opt/python/2.7.3/lib/libpython2.7.a(abstract.o):
relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making
a shared object; recompile with -fPIC
/usr/pic1/opt/python/2.7.3/lib/libpython2.7.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status
gmake[1]: *** [libpyqt5.so] Error 1
gmake[1]: Leaving directory
`/usr/pic1/src/PyQt-gpl-5.1.2-snapshot-c483162df565/designer'
gmake: *** [sub-designer-make_first-ordered] Error 2



On Tue, Nov 5, 2013 at 2:23 PM, Selim Tuvi <selim.tuvi at dreamworks.com>wrote:

> Thanks Johny, Phil's patch didn't help but yours did.
>
> FYI, this is the compiler I am using:
>
> gcc version 4.4.7 20120313 (Red Hat 4.4.7-3)
>
> -Selim
>
>
>
> On Tue, Nov 5, 2013 at 10:37 AM, Johny Bui <jbui at vivint.com> wrote:
>
>>  If your compiler is old like mine, you will need to use this attached
>> patch.
>> mine is arm gcc 4.3.
>>
>> Johny.
>>
>>
>> On 11/05/2013 02:58 AM, Phil Thompson wrote:
>>
>> On Mon, 4 Nov 2013 15:28:32 -0800, Selim Tuvi <selim.tuvi at dreamworks.com><selim.tuvi at dreamworks.com>
>> wrote:
>> > Does the current PyQt 5 release support Qt 5.2.0 beta? I am getting the
>> > following error when I build PyQt:
>> >
>> > qpyqml_register_type.cpp:281: error: insufficient contextual information
>> to
>> > determine type
>> > gmake[2]: *** [qpyqml_register_type.o] Error 1
>> > gmake[2]: Leaving directory
>> > `/usr/pic1/src/PyQt-gpl-5.1.2-snapshot-c483162df565/qpy/QtQml'
>> > gmake[1]: *** [sub-QtQml-make_first] Error 2
>> > gmake[1]: Leaving directory
>> > `/usr/pic1/src/PyQt-gpl-5.1.2-snapshot-c483162df565/qpy'
>> > gmake: *** [sub-qpy-make_first-ordered] Error 2
>>
>> Works fine for me but I suspect the problem is a crappy compiler.
>>
>> Try the attached patch.
>>
>> Phil
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20131105/d3fb5ab2/attachment.html>


More information about the PyQt mailing list