my QTPYVCP vcp
18 Jul 2019 00:40 - 18 Jul 2019 00:53 #139749
by Leon82
Replied by Leon82 on topic my QTPYVCP vcp
Ok, I actually read the error I got. It says no module qt quick widgets.
I usually update it with the upgrade line in the install instructions
I usually update it with the upgrade line in the install instructions
Last edit: 18 Jul 2019 00:53 by Leon82.
Please Log in or Create an account to join the conversation.
18 Jul 2019 01:52 - 18 Jul 2019 02:17 #139752
by Leon82
Replied by Leon82 on topic my QTPYVCP vcp
this is the error
I tried the commands to get the dependency again, and the xsession file has been copied to the home folder. The widgets were there before.
Traceback (most recent call last):
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/widgets/qtdesigner_plugin.py", line 38, in <module>
from qtpyvcp.widgets.display_widgets.designer_plugins import *
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/designer_plugins.py", line 46, in <module>
from atc_widget.atc import DynATC
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/atc_widget/atc.py", line 14, in <module>
from qtpy.QtQuickWidgets import QQuickWidget
File "/home/leon/.local/lib/python2.7/site-packages/qtpy/QtQuickWidgets.py", line 14, in <module>
from PyQt5.QtQuickWidgets import *
ImportError: No module named QtQuickWidgets
I tried the commands to get the dependency again, and the xsession file has been copied to the home folder. The widgets were there before.
Traceback (most recent call last):
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/widgets/qtdesigner_plugin.py", line 38, in <module>
from qtpyvcp.widgets.display_widgets.designer_plugins import *
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/designer_plugins.py", line 46, in <module>
from atc_widget.atc import DynATC
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/atc_widget/atc.py", line 14, in <module>
from qtpy.QtQuickWidgets import QQuickWidget
File "/home/leon/.local/lib/python2.7/site-packages/qtpy/QtQuickWidgets.py", line 14, in <module>
from PyQt5.QtQuickWidgets import *
ImportError: No module named QtQuickWidgets
Last edit: 18 Jul 2019 02:17 by Leon82.
Please Log in or Create an account to join the conversation.
18 Jul 2019 10:51 #139775
by KCJ
Replied by KCJ on topic my QTPYVCP vcp
I think you are missing the qtquick module. Try installing with:
KCJ
sudo apt install python-pyqt5.qtquick
KCJ
The following user(s) said Thank You: Leon82
Please Log in or Create an account to join the conversation.
18 Jul 2019 11:36 #139784
by Leon82
Thanks, I'll try when I get home
Replied by Leon82 on topic my QTPYVCP vcp
I think you are missing the qtquick module. Try installing with:
sudo apt install python-pyqt5.qtquick
KCJ
Thanks, I'll try when I get home
Please Log in or Create an account to join the conversation.
18 Jul 2019 22:20 #139835
by Leon82
Replied by Leon82 on topic my QTPYVCP vcp
Ok, I got the widgets back. It the jog increment doesn't work.
Something in my ini must be out of date
Something in my ini must be out of date
Please Log in or Create an account to join the conversation.
18 Jul 2019 22:40 - 19 Jul 2019 01:37 #139837
by Leon82
Replied by Leon82 on topic my QTPYVCP vcp
I got it.
I made an action button for jog.mode toggle and it works, if I click it again it goes to continuous
I made an action button for jog.mode toggle and it works, if I click it again it goes to continuous
Last edit: 19 Jul 2019 01:37 by Leon82.
The following user(s) said Thank You: BigJohnT
Please Log in or Create an account to join the conversation.
25 Sep 2019 23:12 #146203
by Leon82
Replied by Leon82 on topic my QTPYVCP vcp
Ok, another noobish question
I want to either clone or restart the tutorial to make a different one, I never renamed mine from the default vcp1 from the tutorial.
What is the best way to do this without overwrite the old one?
Thanks
I want to either clone or restart the tutorial to make a different one, I never renamed mine from the default vcp1 from the tutorial.
What is the best way to do this without overwrite the old one?
Thanks
Please Log in or Create an account to join the conversation.
26 Sep 2019 01:11 - 26 Sep 2019 01:13 #146208
by KCJ
Replied by KCJ on topic my QTPYVCP vcp
All you have to do to change the identity of a VCP is change the name of the entry points in the setup.py file. Of course it would make since to change the name in other locations as well, but its not needed to distinguish it as far as QtPyVCP and pip are concerned.
...
entry_points={
'gui_scripts': [
'<new_name>=myvcp:main',
],
'qtpyvcp.vcp': [
'<new_name>=myvcp',
],
...
Last edit: 26 Sep 2019 01:13 by KCJ. Reason: add example code
The following user(s) said Thank You: Leon82
Please Log in or Create an account to join the conversation.
26 Sep 2019 07:42 #146229
by pl7i92
Replied by pl7i92 on topic my QTPYVCP vcp
nice project awesome work !
Will you do a Small quick install guide
and supply some files as well as a test ini and hal for standard users
Will you do a Small quick install guide
and supply some files as well as a test ini and hal for standard users
The following user(s) said Thank You: Leon82
Please Log in or Create an account to join the conversation.
26 Sep 2019 16:38 #146281
by BigJohnT
You just need to give it a new name when you run the tutorial script.
I'm assuming your using this tutorial
qtpyvcp.kcjengr.com/tutorials/vcp_template.html
JT
Replied by BigJohnT on topic my QTPYVCP vcp
Ok, another noobish question
I want to either clone or restart the tutorial to make a different one, I never renamed mine from the default vcp1 from the tutorial.
What is the best way to do this without overwrite the old one?
Thanks
You just need to give it a new name when you run the tutorial script.
I'm assuming your using this tutorial
qtpyvcp.kcjengr.com/tutorials/vcp_template.html
JT
Please Log in or Create an account to join the conversation.
Time to create page: 0.096 seconds