Installing QtVCP

More
6 years 6 months ago #164873 by cmorley
Replied by cmorley on topic Installing QtVCP
I'm glade you got it but boy i'd like to know what the problem was :)

Chris

Please Log in to join the conversation.

More
6 years 3 months ago #173644 by Reinhard
Replied by Reinhard on topic Installing QtVCP
Hi,

I just discovered this fred and thought: give it a try ...

... but script did not work on my installation. So I checked the source and found an error. When the script does not find a rip-installation and rip has been selected as installation format, it asks for the directory of the rip-installation.
But it asks that in an endless loop, as it is not able to use the entered path.

line 60ff is:
Code:
* ) if [ -f ~/$basedir/lib/python/qtvcp/designer/x86_64/qt$qtver/$qtfile ]; then sofile=~/$basedir/lib/python/qtvcp/designer/x86_64/qt$qtver/$qtfile

and should be:
Code:
* ) if [ -f $basedir/lib/python/qtvcp/designer/x86_64/qt$qtver/$qtfile ]; then sofile=$basedir/lib/python/qtvcp/designer/x86_64/qt$qtver/$qtfile
... as linuxcnc is installed at /usr/local/src/linuxcnc-dev

cheers Reinhard

P.S.: just discovered, that the "fixed" script does not work either. qttools5-dev has version 5.11.3-4 which is not handled by linuxcnc or the script. Changing the script so that it uses 5.9 from linuxcnc makes the script pass, but designer starts without any lc-widgets.

Please Log in to join the conversation.

More
6 years 1 month ago #184349 by web123456
Replied by web123456 on topic Installing QtVCP
how to install QtVCP on
Debian Wheezy 7 Linuxcnc 2.9.

Please Log in to join the conversation.

More
6 years 1 month ago #184351 by cmorley
Replied by cmorley on topic Installing QtVCP
IIRC there are no official packages for qt5 for wheezy.
It may be possible but I think you would be better off trying to build a newer distribution to upgrade.

Please Log in to join the conversation.

More
5 years 10 months ago #190826 by Pro_El
Replied by Pro_El on topic Installing QtVCP
I am trying to install linuxcnc widgets but i am stuck
I am on Buster with LINUXCNC 2.9
I follow procedure from HTML docs but widget did not show
I have qttools version 5.11.3-4 maybe that is the problem??
I can see libpyqt5_py2.so show in qtDesigner Help/plugin, but still no widgets
I use file libpyqt5_py2.so that i found on this forum from cmorley who say is for Buster but still the same
What can i do to show widgets on QT-Designer?

Please Log in to join the conversation.

More
5 years 10 months ago #190827 by cmorley
Replied by cmorley on topic Installing QtVCP
open a terminal
type in :
designer -qt=5

and post what it says.

Also is there any other library named similar to libpyqt5.so?

Please Log in to join the conversation.

More
5 years 10 months ago #190828 by Pro_El
Replied by Pro_El on topic Installing QtVCP
I deleted libpyqt5.so like i see in one post, now i have only libpyqt5_py2.so and other 2 with no similar names.
When i start designer -qt=5 nothing in terminal just starts QT- Designer.
What else should i do?

Please Log in to join the conversation.

More
5 years 10 months ago #190830 by cmorley
Replied by cmorley on topic Installing QtVCP
Did you make add a link to the qtvcp_plugin.py to the folder that designer searches?

linuxcnc.org/docs/2.8/html/gui/qtvcp.htm...ude_linuxcnc_widgets

Please Log in to join the conversation.

More
5 years 10 months ago #190832 by Pro_El
Replied by Pro_El on topic Installing QtVCP
Thanks Cris for this help

For the link i do this
sudo ln -s /usr/lib/python2.7/dist-packages/qtvcp/plugins/qtvcp_plugin.py /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/

I am not sure if this is right way to do link??

Please Log in to join the conversation.

More
5 years 10 months ago #190835 by cmorley
Replied by cmorley on topic Installing QtVCP
I always do the link with the GUI ....
No the second path should be :
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python
or
~/.designer/plugins/python

Did you confirm those are the correct paths? Different systems have slightly different paths.

Please Log in to join the conversation.

Time to create page: 0.163 seconds
Powered by Kunena Forum