- Posts: 200
- Thank you received: 0
qtvcp issues
since my application is not common i need to create a panel to control it, so i need to crete a VCP, there is anybody who can help me to have QTVCP workin in the pi 4
any help apreciated
Please Log in to join the conversation.
If there are libraries missing qtvcp is pretty good at telling you which ones.
Once you get the screen runnable then we can work on designer.
Chris
Please Log in to join the conversation.
I had QT designer working but no Linuxcnc widgets etc so I followed the instructions here forum.linuxcnc.org/qtvcp/38247-sample-qtvcp-screens?start=20
Now I get the following error
designer -qt=5 qtdragon.ui
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
Traceback (most recent call last):
File "/home/bruce/.designer/plugins/python/qtvcp_plugin.py", line 22, in <module>
from qtvcp.plugins.simplewidgets_plugin import *
ModuleNotFoundError: No module named 'qtvcp'
Segmentation fault (core dumped)
Cheers
Bruce
Edit: Never mind - Deleted the link file from /home/bruce/.designer/plugins/python/ and it works now
Please Log in to join the conversation.
Can anyone recommend a good tutorial on using QT Designer for Linuxcnc?
Cheer
Bruce
Please Log in to join the conversation.
github.com/LinuxCNC/linuxcnc/blob/master.../designer/README.txt
Or you could try the script from here
forum.linuxcnc.org/qtvcp/38414-installing-qtvcp#157829
Please Log in to join the conversation.
. scripts/rip-environment
in the terminal first.
Please Log in to join the conversation.
rodw wrote: I think Gene has a version for the Pi4.
Mesa has a board for them so it can be done
I have to say I was really surprised how nice the 4 is! (but not using for linuxcnc)
And who is Gene?
I have a pi4 with linuxcnc, pyqt5 and qtvcp all installed. It just doesn't work with qt screens - I think because of incompatibility with the pi4 opengl driver.
Please Log in to join the conversation.
persei8 wrote: I have a pi4 with linuxcnc, pyqt5 and qtvcp all installed. It just doesn't work with qt screens - I think because of incompatibility with the pi4 opengl driver.
I found the same issue, I think it only supports OpenGL ES. I tried to build a new python-pyqt5.qtopengl but after several failed attempts I gave up.
Please Log in to join the conversation.
Please Log in to join the conversation.
it uses the vtk toolkit for the display.
In the future we could port the code to qtvcp.
(It requires a distribution newer then I currently use)
Chris
Please Log in to join the conversation.
