need help on setup of qtvcp

More
7 years 5 months ago #135130 by Reinhard

I have this working with debian and mint - but always RIP - I don't see why that matters

Well, the python development environments (configure.py i.e.) destroys debian security.
When you look at old stuff packages with configure shell scripts, they always use a prefix parameter, which defaults to /usr/local - that way you can compile and test a package without any harm on your productive system (paths to /usr/local have preceedance to /usr and using a separate filesystem at /usr/local allows to switch off any testing stuff with a single reboot)

Therefore I tested installation with a virtualbox, where I saved a snapshot after system installation.
I followed Quick Start Tutorial, which leaded to the already well known situation: designer without linuxcnc widgets and/or crashing designer or crashing linuxcnc

Then I tried Development Install .
I have to confess, that I don't really understand, what are sequential steps and what are alternatives ...
First I thought, that "Installing from Debian package" might be an alternative - but performing this, nothing at all works. No sip, no qtpyvcp, no widgets in designer ...

So I tried the Development Install Instructions after the package installation ...
... and got the same result as before ...

Don't know, what am I doing wrong.

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

More
7 years 5 months ago #135133 by Reinhard
As all different installation variants lead to the same result, I thought: may be it works anyway?
... and stepped over to Getting Started
First steps look promising, but when I try to edit template (editvcp ...), it tells, what the designer already showed:
Code:
Traceback (most recent call last): File "/home/cncob/.local/bin/editvcp", line 11, in <module> load_entry_point('qtpyvcp', 'console_scripts', 'editvcp')() File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 561, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2631, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2291, in load return self.resolve() File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2297, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/src/qtpyvcp/qtpyvcp/tools/editvcp.py", line 39, in <module> from qtpy.QtWidgets import QApplication, QFileDialog File "/home/cncob/.local/lib/python2.7/site-packages/qtpy/__init__.py", line 208, in <module> raise PythonQtError('No Qt bindings could be found') qtpy.PythonQtError: No Qt bindings could be found
Last line seems the most important one ...

I checked my system: Yes, its a 64bit debian and qt-designer is of version 5.7.1
I gave up the idea to try a mint installation. Download breaks too often and after all - its no system, I want to use ...

I run out of ideas :(

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

More
7 years 5 months ago #135223 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
This has to be because you are using an installed version - it works fine in multiple computers and systems and people as RIP.

I'm sorry you are having these problems - when i get home i will do an instal version of linuxcnc and see if I can duplicate the problem.

Chris M

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

More
7 years 5 months ago #135277 by Reinhard
Hi Chris,

thanks a lot for your attention and support!
I very appreciate that you take the time for stil answering!

I searched a lot and I came up in reading docs for the qt-designer - but then I had to stop myself. That's nothing I wonna do. So may be qt is not the right tool for me.

I tried a few steps with glade and after building an old gui-builder I already have the linuxcnc controls in the builder. At the moment I don't understand anything, but may be, that path is more appropriate for me.
At least I don't have trouble with the tools there.
And at the moment I don't care for stylish look - just wonna get something to work with ;)

Cheers Reinhard

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

More
7 years 5 months ago #135348 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
I'm glad you found gladevcp to work for you.

Reinhard wrote: I searched a lot and I came up in reading docs for the qt-designer - but then I had to stop myself. That's nothing I wonna do. So may be qt is not the right tool for me.

Cheers Reinhard


What do you mean? Gladevcp and qtvcp work very much the same.

Chris M

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

More
7 years 5 months ago #135350 by Reinhard

What do you mean? Gladevcp and qtvcp work very much the same.

Well, they should - if everything works fine ;)

The point is, I don't get the qt-designer to show linuxcnc-widgets or run without crash
So the tool is not a tool but a work preventing system like windoz :dry:

The glade designer shows linuxcnc widgets at first run - so it is really a tool that might be useful :)
I don't wont to bother with tools but only use them. They should help me
... at least in my opinion.

So I try the glade way ...

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

Time to create page: 0.296 seconds
Powered by Kunena Forum