No linuxcnc widgets in designer

More
6 years 2 months ago #180016 by lllars
This is on a clean install of Mint 19.3 Mate edition

LinuxCNC is the version 2.9 from this repository:
Code:
sudo apt-add-repository 'deb http://buildbot.linuxcnc.org/ stretch master-rtpreempt'

I followed the qtvcp installation instructions from here:
www.linuxcnc.org/docs/devel/html/gui/qtv...ude_linuxcnc_widgets
Code:
$ ls -l /usr/lib/x86_64-linux-gnu/qt5/plugins/designer -rw-r--r-- 1 root root 31592 Aug 29 22:20 libpyqt5_py2.so -rw-r--r-- 1 root root 31488 Apr 23 2018 libpyqt5.so -rw-r--r-- 1 root root 18808 Apr 14 2018 libqquickwidget.so -rw-r--r-- 1 root root 18752 Apr 14 2018 libqwebview.so drwxr-xr-x 2 root root 4096 Aug 29 22:12 python
Code:
$ ls -l /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/ lrwxrwxrwx 1 root root 62 Aug 29 22:12 qtvcp_plugin.py -> /usr/lib/python2.7/dist-packages/qtvcp/plugins/qtvcp_plugin.py

I've also tried putting the link to qtvcp_plugin.py in ~/.designer/python/ --> no difference

Launching designer with:
Code:
$ designer -qt=5

It runs fine, just no linuxcnc widgets. Help-->About Plugins lists:
Code:
Loaded Plugins libpyqt5.so libpyqt5_py2.so libquickwidget.so QQuickWidget libqwebview.so QWebView

I tried moving libpyqt5.so elsewhere, and then it doesn't show up in about plugins, but with no other difference.

Please Log in to join the conversation.

More
6 years 2 months ago #180017 by cmorley
yes remove libpyqt5.so.
Then launch designer from a terminal and post anything printed in the terminal please.

Please Log in to join the conversation.

More
6 years 2 months ago #180018 by lllars
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

Please Log in to join the conversation.

More
6 years 2 months ago #180019 by cmorley
try adding this file to the plugin folder and launching the designer again to see if it prints to the screen.

Please Log in to join the conversation.

More
6 years 2 months ago #180020 by cmorley
sorry I meant add it to:
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/

Please Log in to join the conversation.

More
6 years 2 months ago #180021 by lllars
I don't see any output. It should print in the terminal?

Please Log in to join the conversation.

More
6 years 2 months ago #180022 by cmorley
yes.
so to summarize - you see libpyqt5_py2 in designer's about plugins and it doesn't print the message from the file we just added to:
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/

Please Log in to join the conversation.

More
6 years 2 months ago #180023 by lllars
yes, that is correct

Please Log in to join the conversation.

More
6 years 2 months ago #180024 by lllars
I also tried putting it in ~/.designer/python/ --> same non-result

Please Log in to join the conversation.

More
6 years 2 months ago #180025 by cmorley
Did you check the version of qt in designer and pick the same version of libpyqt5.so?
I'm running out of ideas :(

Please Log in to join the conversation.

Time to create page: 0.174 seconds
Powered by Kunena Forum