[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Building static version of PyQtChart 5.7
From:       Thijs Triemstra <lists () collab ! nl>
Date:       2016-07-31 16:05:32
Message-ID: a064d455-3cba-172b-99a1-952c2d2c985d () collab ! nl
[Download RAW message or body]

On 31-07-16 17:59, Thijs Triemstra wrote:
> Thanks that worked. The documentation mentions a '--pyqt=PyQt5' option
> but it seems to be an obsolete or missing option.

Spoke too soon, a build with pyqtdeploycli fails with a long stacktrace:

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?

Thijs

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic