need help on setup of qtvcp

More
26 May 2019 04:37 #134955 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
Sorry I had not read the log files yet.
It seems designer finds qtvcp_plugin.py so that's not a problem.

In my system (mint 13) I don't have python3-pyqt5.qtsvg installed but I do have the others...

Chris M

Please Log in or Create an account to join the conversation.

More
26 May 2019 04:40 #134956 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
I added python3-pyqt5.qtsvg and it didn't hurt anything.
I am at a bit of a loss at the moment.

Chris M

Please Log in or Create an account to join the conversation.

More
26 May 2019 04:40 #134957 by Reinhard
Hi,

you may have to add the python folder.

Hm, I tested to link the plugins directory into designer directory, but then designer crashed before installing svg lib.

What distribution are you using?

I use debian stable (stretch or 9.9) on my desktop (kde) with daily updates and I have a fresh installation in a virtual box with debian stretch and linuxcnc

I have no idea of python and its requirements, so I need your help.

Please Log in or Create an account to join the conversation.

More
26 May 2019 04:43 #134958 by Reinhard

I added python3-pyqt5.qtsvg and it didn't hurt anything.

That library did not hurt my system either. I had that installed before.
python-pyqt5.qtsvg was the killer. I guess thats the library for python2, which is used by screen-infrastructure

Please Log in or Create an account to join the conversation.

More
26 May 2019 04:45 #134959 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
The link to qtvcp_plugin.py must go in /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python

Please Log in or Create an account to join the conversation.

More
26 May 2019 04:46 #134960 by Reinhard
I removed that svg library (apt purge python-pyqt5.qtsvg) and designer is able to start again. But without linuxcnc ...

Please Log in or Create an account to join the conversation.

More
26 May 2019 04:47 #134961 by Reinhard

The link to qtvcp_plugin.py must go in /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python

There it is:
:/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python# ll
insgesamt 4
lrwxrwxrwx 1 root root 62 Mai 26 05:34 qtvcp_plugin.py -> /usr/lib/python2.7/dist-packages/qtvcp/plugins/qtvcp_plugin.py

Please Log in or Create an account to join the conversation.

More
26 May 2019 04:54 #134962 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
when you start designer now clck 'helpt' select 'about plugins' and see if it found the library libpyqt5_py2.so

Please Log in or Create an account to join the conversation.

More
26 May 2019 05:01 #134963 by Reinhard
Well, the lib is mentioned but has no entries
Attachments:

Please Log in or Create an account to join the conversation.

More
26 May 2019 05:12 #134964 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
Well as long as it sees the _py2 version then that is good - it finds the library.

The other question is which version of libpyqt5_py2.so did you copy over?
5.7 hopefully

Please Log in or Create an account to join the conversation.

Time to create page: 0.142 seconds
Powered by Kunena Forum