qtvcp issues

More
07 Apr 2020 03:12 #163007 by grijalvap
Replied by grijalvap on topic qtvcp issues
I have installed linuxCNC in the Pi 4, and now it is working with mesa 7i96
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
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
07 Apr 2020 12:12 #163045 by cmorley
Replied by cmorley on topic qtvcp issues
Well first of all, what happens when you try to launch one of the qtvcp sample screen? Launch it from the terminal so you can see the most error messages.
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 or Create an account to join the conversation.

More
16 Apr 2020 07:09 - 16 Apr 2020 07:14 #164120 by Bruedney
Replied by Bruedney on topic qtvcp issues
Help

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
Last edit: 16 Apr 2020 07:14 by Bruedney. Reason: Fixed it myself

Please Log in or Create an account to join the conversation.

More
16 Apr 2020 07:47 #164121 by Bruedney
Replied by Bruedney on topic qtvcp issues
However I still don't have the Linuxcnc widgets in the widget box

Can anyone recommend a good tutorial on using QT Designer for Linuxcnc?

Cheer
Bruce

Please Log in or Create an account to join the conversation.

More
16 Apr 2020 10:07 #164129 by phillc54
Replied by phillc54 on topic qtvcp issues
Did you follow the instructions for installing the .so file

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 or Create an account to join the conversation.

More
16 Apr 2020 16:21 #164164 by cmorley
Replied by cmorley on topic qtvcp issues
You need the link. Is this a RIP linuxcnc? If so you must :
. scripts/rip-environment
in the terminal first.

Please Log in or Create an account to join the conversation.

More
04 Jul 2020 22:53 #173633 by persei8
Replied by persei8 on topic qtvcp issues

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 or Create an account to join the conversation.

More
04 Jul 2020 23:57 #173638 by phillc54
Replied by phillc54 on topic qtvcp issues

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 or Create an account to join the conversation.

More
05 Jul 2020 18:14 #173682 by persei8
Replied by persei8 on topic qtvcp issues
So it appears that until pyqt5 supports OpenGL ES 3.2, there won't be any linuxcnc controllers with QT screens on a RPi4. Very disappointing.

Please Log in or Create an account to join the conversation.

More
05 Jul 2020 18:44 #173684 by cmorley
Replied by cmorley on topic qtvcp issues
Does qtpyvcp's back plotter work?
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 or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.130 seconds
Powered by Kunena Forum