[PyQt] Building static version of PyQtChart 5.7

Phil Thompson phil at riverbankcomputing.com
Wed Aug 3 22:55:13 BST 2016


> On 3 Aug 2016, at 9:38 pm, Thijs Triemstra <lists at collab.nl> wrote:
> 
> On 31-07-16 18:05, Thijs Triemstra wrote:
>> sipQtChartQPercentBarSeries.cpp:(.text+0x232): undefined reference
>> to `QtCharts::QPercentBarSeries::qt_metacast(char const*)' 
>> /home/raspi-build/sysroot/usr/lib/python3.5/site-packages/PyQt5/libQtChart.a(sipQtChartQPercentBarSeries.o):
>> 
>> 
> In function `sipQPercentBarSeries::type() const':
>> sipQtChartQPercentBarSeries.cpp:(.text+0x5b0): undefined reference
>> to `QtCharts::QPercentBarSeries::type() const' 
>> /home/raspi-build/sysroot/usr/lib/python3.5/site-packages/PyQt5/libQtChart.a(sipQtChartQPercentBarSeries.o):
>> 
>> 
> In function `meth_QPercentBarSeries_type':
>> sipQtChartQPercentBarSeries.cpp:(.text+0x640): undefined reference
>> to `QtCharts::QPercentBarSeries::type() const' 
>> /home/raspi-build/sysroot/usr/lib/python3.5/site-packages/PyQt5/libQtChart.a(sipQtChartQPercentBarSeries.o):
>> 
>> 
> In function `sipQPercentBarSeries::metaObject() const':
>> sipQtChartQPercentBarSeries.cpp:(.text+0x1a6): undefined reference
>> to `QtCharts::QPercentBarSeries::metaObject() const' 
>> /home/raspi-build/sysroot/usr/lib/python3.5/site-packages/PyQt5/libQtChart.a(sipQtChartQPercentBarSeries.o):(.data.rel.ro+0x8):
>> 
>> 
> undefined reference to `typeinfo for QtCharts::QPercentBarSeries'
>> /home/raspi-build/sysroot/usr/lib/python3.5/site-packages/PyQt5/libQtChart.a(sipQtChartQPercentBarSeries.o):(.data.rel+0xbc):
>> 
>> 
> undefined reference to `QtCharts::QPercentBarSeries::staticMetaObject'
>> collect2: error: ld returned 1 exit status Makefile:430: recipe for
>> target 'photobooth' failed make: *** [photobooth] Error 1
>> 
>> Any idea?
>> 
> 
> Could it be related to this: https://bugreports.qt.io/browse/QTBUG-54230?

Difficult to say - that looks Windows specific.

Bringing pyqtdeploy up to date is the current piece of work.

Phil


More information about the PyQt mailing list