Screen shots of gui designs

More
30 Dec 2017 18:27 #103866 by kcj
kcj replied the topic: Screen shots of gui designs
Chris, great work! I can't wait to get back from vacation so I can check it out and see about making a full UI.

-Kurt
More
12 Jan 2018 18:04 #104352 by persei8
persei8 replied the topic: Screen shots of gui designs
Sorry to be a PITA. I managed to download (clone) qtvcp_py2 and build and install it, but now when I run it like so:

$ linuxcnc qtdefault.ini
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/jim/linuxcnc/configs/sim.qtscreen'
Machine configuration file is 'qtdefault.ini'
Starting LinuxCNC...
emc/iotask/ioControl.cc 768: can't load tool table.
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Note: Using POSIX realtime
Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal
Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
Found file(REL): ./check_constraints.hal
Traceback (most recent call last):
File "/usr/bin/qtscreen", line 8, in <module>
from qtvcp.core import Status
ImportError: No module named qtvcp.core
Shutting down and cleaning up LinuxCNC...

At github.com/LinuxCNC/linuxcnc/tree/770a0f...339/lib/python/qtvcp there is no clone or download button, so how do I get the qtvcp module and where does it go when I get it?
More
12 Jan 2018 21:41 #104360 by persei8
persei8 replied the topic: Screen shots of gui designs
OK I got that resolved, but now it's:

Traceback (most recent call last):
File "/usr/bin/qtscreen", line 23, in <module>
from qtvcp import qt_makepins, qt_makegui
File "/usr/lib/python2.7/dist-packages/qtvcp/qt_makepins.py", line 24, in <module>
from qtvcp.qt_glib import QComponent
ImportError: No module named qt_glib
Shutting down and cleaning up LinuxCNC...

I resolved the first issue by creating a symlink to the linuxcnc-qt5vcp_py2 directory, but this time, there really is no module named qt_glib.
More
12 Jan 2018 22:22 - 12 Jan 2018 22:35 #104367 by kcj
kcj replied the topic: Screen shots of gui designs
You probably should be building LCNC from source to use the development branches. It sounds like you might not be doing that. I can walk you thru that if needed. I am going to checkout the qt5vcp_py2 branch in a bit here myself.

EDIT:

At github.com/LinuxCNC/linuxcnc/tree/770a0f...339/lib/python/qtvcp there is no clone or download button, so how do I get the qtvcp module and where does it go when I get it?


You need to have git installed and configured. Then
git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
git checkout qt5vcp_py2

That will give you a directory with the qt5vcp_py2 branch, than build that as a RIP. Follow the directions here: www.wiki.eusurplus.com/index.php?title=LinuxCNC_Run_In_Place

Don't hesitate to ask if you still are having trouble.
Last Edit: 12 Jan 2018 22:35 by kcj. Reason: Forum ate the https
The following user(s) said Thank You: persei8
More
12 Jan 2018 22:40 #104370 by persei8
persei8 replied the topic: Screen shots of gui designs
I did build it all from source and it now starts after I installed python-pyqt5.qsci. It is obviously only in development so for now I'm going back to gmoccapy so I can run the real machine. I need it so I can build a better one. It's been a really good learning experience to dig into how these UIs work and reading the posts of the real gurus, such as yourself and Andy and Norbert etc. I will be watching the development of both qtscreen and hazzy (and gmoccapy too). Regards.
More
12 Jan 2018 22:44 #104371 by persei8
persei8 replied the topic: Screen shots of gui designs
That may have been my problem. I did not install as RIP but built a deb package and installed that with dpkg. Either way should work.
More
13 Jan 2018 00:00 #104374 by cmorley
cmorley replied the topic: Screen shots of gui designs
Yes building a RIP is the way - i have not added the code to do debs
Sorry for the trouble.

Chris M
Time to create page: 0.192 seconds
Powered by Kunena Forum