need help on setup of qtvcp

More
26 May 2019 05:31 #134966 by Reinhard
As the library was already in place, I did not copy anything. See attachment
Library in place matched the lib from 5.7 in size

Anyway - I copied the lib over the existing now - and that did not change anything respect to designer.
Attachments:

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

More
26 May 2019 05:34 #134968 by Reinhard
Just an idea: is the search path to the widgets coded in the library?
May be that path is different or not existant on my system?

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

More
26 May 2019 05:34 #134969 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
Well I'm confused then. No distribution supplies that library. either you compile it your self or u copy the precompiled version we supply.
Anything else will be the wrong version.

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

More
26 May 2019 05:36 #134970 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
search path in library searches:

/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python
or
~/.designer/plugins/python

and we create a link to where ever out library actually is

Chris M

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

More
26 May 2019 05:39 #134971 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
So what does it say in the terminal now when you load designer?

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

More
26 May 2019 05:40 #134972 by Reinhard
I beg your pardon, but I can't remember, what I did last year ...
Usually I use prefix /usr/local for selfcompiled experiments ...

search path in library searches

No, I don't refer to search path of shared libs, but python search path to python widgets

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

More
26 May 2019 05:42 #134973 by Reinhard

So what does it say in the terminal now when you load designer?

I already mentioned: no change at all.

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

More
26 May 2019 05:49 #134974 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
Ok just so I'm on the same page:

you have copied over the 5.7 version (from linuxcnc) of libpyqt5_py2.so
to /usr/lib/x86_64-linux-gnu/qt5/plugins/designer

you have a link called qtvcp_plugin.py that points to the same named file in
usr/lib/python2.7/dist-packages/qtvcp/plugins/qtvcp_plugin.py

Chris M

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

More
26 May 2019 06:07 #134975 by Reinhard
I would say yes - but look at attached file
Attachments:

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

More
26 May 2019 06:19 #134976 by cmorley
Replied by cmorley on topic need help on setup of qtvcp
Here is how Kurt builds the library:
gist.github.com/KurtJacobson/34a2e45ea2227ba58702fc1cb0372c40

I see he sets the path for the library with:
export PYQTDESIGNERPATH='/path/to/plugin/directory/'

But that should not be necessary - but I'm running out of ideas.

Chris M

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

Time to create page: 0.117 seconds
Powered by Kunena Forum