my QTPYVCP vcp

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

Please Log in to join the conversation.

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

Please Log in to join the conversation.

More
7 years 3 months ago #139775 by KCJ
Replied by KCJ on topic my QTPYVCP vcp
I think you are missing the qtquick module. Try installing with:

Code:
sudo apt install python-pyqt5.qtquick

KCJ

Please Log in to join the conversation.

More
7 years 3 months ago #139784 by Leon82
Replied by Leon82 on topic my QTPYVCP vcp

KCJ wrote: I think you are missing the qtquick module. Try installing with:

Code:
sudo apt install python-pyqt5.qtquick

KCJ


Thanks, I'll try when I get home

Please Log in to join the conversation.

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

Please Log in to join the conversation.

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

Please Log in to join the conversation.

More
7 years 1 month ago #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

Please Log in to join the conversation.

More
7 years 1 month ago #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.
Code:
... entry_points={ 'gui_scripts': [ '<new_name>=myvcp:main', ], 'qtpyvcp.vcp': [ '<new_name>=myvcp', ], ...

Please Log in to join the conversation.

More
7 years 1 month ago #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

Please Log in to join the conversation.

More
7 years 1 month ago #146281 by BigJohnT
Replied by BigJohnT on topic my QTPYVCP vcp

Leon82 wrote: 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 to join the conversation.

Time to create page: 0.145 seconds
Powered by Kunena Forum