Installing QtVCP

More
19 Apr 2020 09:27 #164618 by Bruedney
Replied by Bruedney on topic Installing QtVCP
LinuxCNC version

Attachments:

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

More
19 Apr 2020 18:36 #164661 by cmorley
Replied by cmorley on topic Installing QtVCP
Well that's got me stumped at the moment. It's complaining that it can't find the folder that it is in..I think I forget how links are reported.

I'll try to find an installed version of linuxcnc here and see if I can figure it out.
The following user(s) said Thank You: Bruedney

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

More
19 Apr 2020 22:38 #164680 by Bruedney
Replied by Bruedney on topic Installing QtVCP
Could it be something to do with "pyqtdesignerpath"? I can't find out how to check what this is set to

Cheers
Bruce

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

More
19 Apr 2020 22:53 #164685 by cmorley
Replied by cmorley on topic Installing QtVCP
I'm not sure. The error comes from qtvcp's plugins not finding the rest of the plugins - it's like python is not searching the right path.
I don't test installed versions so I don't know the details off hand yet.

Chris
The following user(s) said Thank You: Bruedney

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

More
19 Apr 2020 23:09 #164689 by cmorley
Replied by cmorley on topic Installing QtVCP
can you remove the other libpyqt5.so file?
You need to be sudo to do this and I would trash or move it not delete it ( in case you need it back for some reason)

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

More
19 Apr 2020 23:11 #164690 by cmorley
Replied by cmorley on topic Installing QtVCP
the error message seems to be related to python3 which the other library.so is using

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

More
20 Apr 2020 00:51 #164702 by Bruedney
Replied by Bruedney on topic Installing QtVCP
Hi Chris

Thanks for your help on this

It may have been the PYQTDESIGNERPATH. I went through another thread that I found that said to run export PYQTDESIGNERPATH='/path/to/plugin/directory/'

I took the text too literally and kept the ' marks

I just ran export PYQTDESIGNERPATH=/usr/lib/x86_64-linux-gnu/qt5/plugins

And now I get the following when I run designer (and still no widgets) (I get the same if the libpyqt5_py2.so is named this or libpyqt5_py2.bak)

qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
qt5ct: D-Bus system tray: no

When I close QT Designer I get an extra error
QXcbConnection: XCB error: 3 (BadWindow), sequence: 709, resource id: 54538204, major code: 40 (TranslateCoords), minor code: 0

Maybe I should try uninstalling all QT related packages and then run Phil's script again

Cheers
Bruce

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

More
20 Apr 2020 04:57 #164742 by cmorley
Replied by cmorley on topic Installing QtVCP
did you try what I asked first?

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

More
20 Apr 2020 07:00 #164787 by Bruedney
Replied by Bruedney on topic Installing QtVCP
Hi Chris

Yes I removed the libpyqt5_py2.so to no avail

I then tried the PYQTDESIGNERPATH again with libpyqt5_py2.so both in place and removed. libpyqt5_py2.so status did not make any difference either way

As this is on a dev machine and not my actual controller PC I think it might be time for yet another clean install.

Maybe I should go back to the offical Debian iso too

Thanks again for your help

Bruce

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

More
20 Apr 2020 08:32 #164806 by Bruedney
Replied by Bruedney on topic Installing QtVCP
Clean install of OS - Linuxcnc & QtVCP has solved my Designer issue

Big thanks to Chris for trying to help me out

Cheers
Bruce

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

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