[PyQt] plugin "pyqt5qmlplugin" not found
Phil Thompson
phil at riverbankcomputing.com
Sat Jan 28 15:03:56 GMT 2017
On 27 Jan 2017, at 7:26 pm, Cody Scott <cody at perspexis.com> wrote:
>
> I'm trying to use a Python type with qmlscene.
>
> http://pyqt.sourceforge.net/Docs/PyQt5/qml.html#writing-python-plugins-for-qmlscene
>
> I'm trying to run the example from `examples/quick/tutorials/extending/chapter6-plugins/`
>
>
> $ QML2_IMPORT_PATH=. ~/Qt/5.7/gcc_64/bin/qmlscene app.qml
> file:///path/to/app.qml:42 module "Charts" plugin "pyqt5qmlplugin" not found
>
> It appears I do have the pyqt5qmlplugin.
>
> $ ls ~/Qt/5.7/gcc_64/plugins/PyQt5/
> libpyqt5qmlplugin.so*
How did you install PyQt? It's not included in the wheels.
Phil
More information about the PyQt
mailing list