No linuxcnc widgets in designer

More
30 Aug 2020 04:13 #180016 by lllars
This is on a clean install of Mint 19.3 Mate edition

LinuxCNC is the version 2.9 from this repository:
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
$ 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
$ 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:
$ designer -qt=5

It runs fine, just no linuxcnc widgets. Help-->About Plugins lists:
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 or Create an account to join the conversation.

More
30 Aug 2020 04:18 #180017 by cmorley
yes remove libpyqt5.so.
Then launch designer from a terminal and post anything printed in the terminal please.

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

More
30 Aug 2020 04:34 #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 or Create an account to join the conversation.

More
30 Aug 2020 04:47 #180019 by cmorley
try adding this file to the plugin folder and launching the designer again to see if it prints to the screen.
Attachments:

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

More
30 Aug 2020 04:50 #180020 by cmorley
sorry I meant add it to:
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/

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

More
30 Aug 2020 04:56 #180021 by lllars
I don't see any output. It should print in the terminal?

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

More
30 Aug 2020 05:04 #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 or Create an account to join the conversation.

More
30 Aug 2020 05:04 #180023 by lllars
yes, that is correct

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

More
30 Aug 2020 05:06 #180024 by lllars
I also tried putting it in ~/.designer/python/ --> same non-result

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

More
30 Aug 2020 05:31 #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 or Create an account to join the conversation.

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