No linuxcnc widgets in designer

More
5 years 11 months ago #189582 by hottabich
Yes 1280 x1024 woodpecker finish. QtDragon + functionality. There are two more sizes, 1024x768 and 1920x1080. It remains to rename from qtdragon in woodpecker. QGroupBox created in Desinger 5.7 Debian9 does not display correctly on Debian 10.

Please Log in to join the conversation.

More
5 years 10 months ago #191468 by persei8
I hate to bring this up again, but my laptop blew up and I had to reinstall everything from scratch. The only problem now is qtvcp widgets not showing up in designer. Here's the contents of the plugin folder:

Attachment not found




Following the link in the python folder takes me to the correct location in the qtvcp libraries.
I got the libpyqt5_py2.so file from github.com/LinuxCNC/linuxcnc/blob/master...bpyqt5_py2.so.tar.gz

This is the output from designer plugin debug stream (export QT_DEBUG_PLUGINS=1):
Code:
{ loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/libpyqt5_py2.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/libqquickwidget.so, metadata= "IID": "org.qt-project.Qt.QDesignerCustomWidgetInterface", "MetaData": { }, "className": "QQuickWidgetPlugin", "debug": false, "version": 330499 }

Designer starts with no errors or complaints and opens previous ui files.
Running qmake -qt=5 --version shows:
Code:
QMake version 3.1 Using Qt version 5.11.3 in /usr/lib/x86_64-linux-gnu

I don't know what else to try. Thanks.
Jim

Please Log in to join the conversation.

More
5 years 10 months ago #191470 by cmorley
can you open designer and click help and then 'about plugins'
Do you see libpyqt5_py2.so ?

How are you opening Designer?

What distribution are you using? Buster?

Please Log in to join the conversation.

More
5 years 10 months ago #191471 by cmorley
You could also try adding this to the python folder and then launching designer from the terminal.
it should print
test plugin found

Please Log in to join the conversation.

More
5 years 10 months ago #191472 by persei8
Using buster.
designer -qt=5 (from a terminal)

Attachment not found



I haven't tried the test plugin yet. Which python folder?

Please Log in to join the conversation.

More
5 years 10 months ago #191473 by hottabich
Jim hello! If you have Debian10 this will help you.

Please Log in to join the conversation.

More
5 years 10 months ago #191474 by cmorley
the plugin/python folder that the link to qtvcp_plugin is in

Please Log in to join the conversation.

More
5 years 10 months ago #191475 by persei8
I put the test plugin into /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python.
Nothing was printed.
I think my symlink is correct.

Attachment not found

Please Log in to join the conversation.

More
5 years 10 months ago #191476 by persei8
Thanks for the info but pyqt5 is installed and working so no need to compile it. That may be my last resort though.

Please Log in to join the conversation.

More
5 years 10 months ago #191477 by hottabich
Code:
// Add to the end of the file ~/.bashrc next line: export PYQTDESIGNERPATH='/usr/lib/python2.7/dist-packages/qtvcp/plugins/'
It works like this for me. I threw you the compiled library.

Please Log in to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum