need help on setup of qtvcp

More
7 years 5 months ago #134949 by Reinhard

cmorley wrote: in usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python
add a link to qtvcp_plugin.py

This kind of advice is better than in the tutorial.
When I know, how things should be, I can search on my own.

On my system, /usr/lib/x86_64-linux-gnu/qt5/plugins/designer contains only compiled shared libs - no directory python.

I tried both: linking qtvcp_plugin.py directly and creating a subdirectory python and put the link there ...
No change - the designer keeps on ignoring linuxcnc.

by the way - i found qtvcp_plugin.py in /usr/lib/python2.7/dist-packages/qtvcp/plugins/qtvcp_plugin.py

May be searchpath of designer is different for shared libs and python modules?

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

More
7 years 5 months ago #134950 by Reinhard
Here some more info:

When I create the python directory at usr/lib/x86_64-linux-gnu/qt5/plugins/designer and put a link to usr/lib/python2.7/dist-packages/qtvcp/plugins/qtvcp_plugin.py inside that directory, designer comes up with the messages from file logFirst.txt

... so I checked installation:
Code:
ii python-pyside.qtsvg 1.2.2-2+b1 amd64 Qt 4 SVG module - Python bindings ii python3-pyqt5.qtsvg 5.7+dfsg-5 amd64 Python 3 bindings for Qt5's SVG module

and indeed - python-pyqt5.qtsvg is not installed.
So I installed that module ...
Code:
ii python-pyqt5.qtsvg 5.7+dfsg-5 amd64 Python 2 bindings for Qt5's SVG module ii python-pyside.qtsvg 1.2.2-2+b1 amd64 Qt 4 SVG module - Python bindings ii python3-pyqt5.qtsvg 5.7+dfsg-5 amd64 Python 3 bindings for Qt5's SVG module

...and now designer crashes at start with messages from logSecond.txt

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

More
7 years 5 months ago #134953 by cmorley
Replied by cmorley on topic need help on setup of qtvcp

Reinhard wrote:

cmorley wrote: in usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python
add a link to qtvcp_plugin.py

This kind of advice is better than in the tutorial.
When I know, how things should be, I can search on my own.

On my system, /usr/lib/x86_64-linux-gnu/qt5/plugins/designer contains only compiled shared libs - no directory python.

I tried both: linking qtvcp_plugin.py directly and creating a subdirectory python and put the link there ...
No change - the designer keeps on ignoring linuxcnc.

by the way - i found qtvcp_plugin.py in /usr/lib/python2.7/dist-packages/qtvcp/plugins/qtvcp_plugin.py

May be searchpath of designer is different for shared libs and python modules?


Yes I pushed an update to the docs - I'm sure I'll have to update them again when we figure this out.
yes /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python is the right directory - you may have to add the python folder.

yes the link should be to /usr/lib/python2.7/dist-packages/qtvcp/plugins/qtvcp_plugin.py

next you have copied the libpyqt5_py2.so file into /usr/lib/x86_64-linux-gnu/qt5/plugins/designer ?
and is it the right version - looks like 5.7?

running from the terminal may give some error messages (if you are not already)
python.pyqt5 versions of libraries is what you need.
What distribution are you using?

SVG library _should_ not actually be necessary - just one widget is not available (but I haven't confirmed recently if it would cause a designer error - but it would give an error message in the terminal)

Chris M

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

More
7 years 5 months ago - 7 years 5 months ago #134954 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
Duplicate
Last edit: 7 years 5 months ago by cmorley. Reason: duplicate

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

More
7 years 5 months ago #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
7 years 5 months ago #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.

Time to create page: 0.269 seconds
Powered by Kunena Forum