[PyQt] Building static version of PyQtChart 5.7

Thijs Triemstra lists at collab.nl
Wed Aug 3 21:38:27 BST 2016


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?

So annoying this is the only thing stopping deployment of my app.

Thijs



More information about the PyQt mailing list