I installed the Master brand of linuxcnc. It's using python3..
I built runandplace.
after I changed :
ln -s /home/mycom/linuxcnc/lib/python/qtvcp/plugins/qtvcp_plugin.py /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python
But have error:
/home/mycom/linuxcnc/scripts/rip-environment designer -qt=5
Can you help me check it?
Qtvcp python plugin found:', '/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py')
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py", line 23, in <module>
from qtvcp.plugins.simplewidgets_plugin import *
File "/home/mycom/linuxcnc/lib/python/qtvcp/plugins/simplewidgets_plugin.py", line 5, in <module>
from qtvcp.widgets.simple_widgets import PushButton
File "/home/mycom/linuxcnc/lib/python/qtvcp/widgets/simple_widgets.py", line 17, in <module>
from qtvcp.widgets.widget_baseclass import (_HalWidgetBase,
File "/home/mycom/linuxcnc/lib/python/qtvcp/widgets/widget_baseclass.py", line 19, in <module>
File "/home/mycom/linuxcnc/lib/python/hal.py", line 30, in <module>
ImportError: /home/mycom/linuxcnc/lib/python/_hal.so: undefined symbol: _Py_FalseStruct
I can load to qt designer now.But I don't see linuxcnc widgets in the QT designer.
ln -s /home/mycom/linuxcnc/lib/python/qtvcp/plugins/qtvcp_plugin.py /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python```
I have libpyqt5_py2.so in
QT Designer worked with V2.8.
thank you so much
I am working on a RPi4.
I manage to build and run Qt5/PyQt5 from source but I get the following:
Where can I find the libpyqt5_py2.so pluging binary for RPi4?
If not, where can a find the source and build instructions to build a brand new libpyqt5_py2.so plugin for RPi4?
I think it is a platform conflict, so it seems making a rebuild for RPi could be work.
Funny you say that. I mucked about with a pi today trying to use the linuxcnc-uspace package from testing branch. I thought I had it working until I tried to run qtplasmac and it failed with a missing python3-gst1.0 dependency which does not exist in testing branch.
I suspect it was a red herring anyway.
Phill's mention of opengl is more likely the issue.
Sorry but I've blown away that version on the pi (along with 20 others while playing.....) so can't share it
And besides I was also using apt-pinning to get to the bookworm packages
Despite the amazing latency I got from the pi using this thread
They are not terribly useful for me becasue at present:
1. they can't run qtplasmac and;
2 I can't install ethercat master.
I think Item 2 is related to the odd kernel 5.15 the Pi uses which is in between bullseye and bookworm. I was going to try installing it on a plain non preempt_rt version of the pi. But I don't understand how to make the pi load the preempt_rt image in Debian once its installed.