[PyQt] pyuic5 and PyQtChart

Phil Thompson phil at riverbankcomputing.com
Tue Oct 18 09:33:02 BST 2016


On 17 Oct 2016, at 11:57 pm, Tim Häring <tim.haering at gmail.com> wrote:
> 
> Hello,
> 
> I created a .ui-file with a QtCharts::QChartView and tried to translate it with pyuic5. This failed since there is no support for QtCharts in pyuic5. Will there be support anytime soon or is there anything I could do to help implementing it? Is this even the correct mailing list for this issue? If not, please tell me.

Go to the site-packages/PyQt5/uic/widget-plugins directory. Copy the qtquickwidgets.py file to qtcharts.py. Edit the file to make the obvious changes.

Let me know if it works Ok.

Phil


More information about the PyQt mailing list