Installing QtVCP
20 Apr 2020 16:53 #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
Chris
Please Log in or Create an account to join the conversation.
05 Jul 2020 04:40 - 05 Jul 2020 05:01 #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:
and should be:... 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.
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:
* ) 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:
* ) if [ -f $basedir/lib/python/qtvcp/designer/x86_64/qt$qtver/$qtfile ]; then
sofile=$basedir/lib/python/qtvcp/designer/x86_64/qt$qtver/$qtfile
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.
Last edit: 05 Jul 2020 05:01 by Reinhard.
Please Log in or Create an account to join the conversation.
30 Sep 2020 05:01 #184349
by web123456
Replied by web123456 on topic Installing QtVCP
how to install QtVCP on
Debian Wheezy 7 Linuxcnc 2.9.
Debian Wheezy 7 Linuxcnc 2.9.
Please Log in or Create an account to join the conversation.
30 Sep 2020 05:31 #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.
It may be possible but I think you would be better off trying to build a newer distribution to upgrade.
The following user(s) said Thank You: Pro_El
Please Log in or Create an account to join the conversation.
02 Dec 2020 02:47 #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?
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 or Create an account to join the conversation.
02 Dec 2020 02:54 #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?
type in :
designer -qt=5
and post what it says.
Also is there any other library named similar to libpyqt5.so?
The following user(s) said Thank You: Pro_El
Please Log in or Create an account to join the conversation.
02 Dec 2020 03:03 #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?
When i start designer -qt=5 nothing in terminal just starts QT- Designer.
What else should i do?
Please Log in or Create an account to join the conversation.
02 Dec 2020 03:08 #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
linuxcnc.org/docs/2.8/html/gui/qtvcp.htm...ude_linuxcnc_widgets
The following user(s) said Thank You: Pro_El
Please Log in or Create an account to join the conversation.
02 Dec 2020 03:16 #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??
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??
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
02 Dec 2020 03:34 #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.
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 or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.108 seconds