Qt5 Matplotlib Designer插件Anaconda?

时间:2018-08-06 22:12:26

标签: python qt matplotlib qt-designer

我试图让matplotlib插件出现在qt设计器内部。

我在ubuntu和Windows 10上都使用anaconda python 3.6.5和PyQt-5.9.2。

我看了以下类似的问题和评论。

[最新开] Qt5 Matplotlib Designer Plugin

专注于Linux操作系统。我尝试使用

定位到插件路径
qtpaths --plugin-dir

收益-> / home / abcd / anaconda3 / plugins

我转储了从Qt5 Matplotlib Designer Plugin获得的using matplotlibwidget.py和matplotlibplugin.py。

/home/abcd/anaconda3/plugins中(我也尝试将这些文件转储到/home/abcd/anaconda3/plugins/designer中; /home/abcd/anaconda/bin和其他一些绝望的目录中,包括'/ home / abcd / MyQtStuff')

我也尝试了以下

set QT_DEBUG_PLUGINS=1
set PYQTDESIGNERPATH=/home/abcd/MyQtStuff 

激活debug选项确实会显示一些输出,但是输出之间没有区别

在Linux OS中,当选择插件信息时(qt设计器),我看到加载的库为

libqquickwidget.solibqwebenrinerview.so

在Windows中,我看到pyqt5.dll

我还试图删除anaconda并使用pip3安装pyqt5(插件将位于/usr/lib/x86_64-linux-gnu/qt5/plugins

有人可以帮忙详细说明安装matplotlibwidget.py和matplotlibplugin.py的过程,并在qt设计器中显示我在这里缺少什么吗?

提前谢谢

近江

0 个答案:

没有答案