No linuxcnc widgets in designer

More
5 years 10 months ago #191501 by persei8
I tried hottabich's compiled version - no change.
I tried the various environment variable exports - no change
I tried the library from /usr/lib/python2.7/dist-packages/qtvcp/designer/x86_64/qt5.7 - no change
Here's an excerpt from qtdiag:
Code:
Library info: PrefixPath: /usr DocumentationPath: /usr/share/qt5/doc HeadersPath: /usr/include/x86_64-linux-gnu/qt5 LibrariesPath: /usr/lib/x86_64-linux-gnu LibraryExecutablesPath: /usr/lib/x86_64-linux-gnu/qt5/libexec BinariesPath: /usr/lib/qt5/bin PluginsPath: /usr/lib/x86_64-linux-gnu/qt5/plugins ImportsPath: /usr/lib/x86_64-linux-gnu/qt5/imports Qml2ImportsPath: /usr/lib/x86_64-linux-gnu/qt5/qml ArchDataPath: /usr/lib/x86_64-linux-gnu/qt5 DataPath: /usr/share/qt5 TranslationsPath: /usr/share/qt5/translations ExamplesPath: /usr/lib/x86_64-linux-gnu/qt5/examples TestsPath: /usr/tests SettingsPath: /etc/xdg
Maybe someone with a working system can run qtdiag and compare the output to this? Thanks.

Please Log in to join the conversation.

More
5 years 10 months ago #191505 by hottabich
[url= Скачать ] Скачать [/url]I have exactly this
Code:
Library info: PrefixPath: /usr DocumentationPath: /usr/share/qt5/doc HeadersPath: /usr/include/x86_64-linux-gnu/qt5 LibrariesPath: /usr/lib/x86_64-linux-gnu LibraryExecutablesPath: /usr/lib/x86_64-linux-gnu/qt5/libexec BinariesPath: /usr/lib/qt5/bin PluginsPath: /usr/lib/x86_64-linux-gnu/qt5/plugins ImportsPath: /usr/lib/x86_64-linux-gnu/qt5/imports Qml2ImportsPath: /usr/lib/x86_64-linux-gnu/qt5/qml ArchDataPath: /usr/lib/x86_64-linux-gnu/qt5 DataPath: /usr/share/qt5 TranslationsPath: /usr/share/qt5/translations ExamplesPath: /usr/lib/x86_64-linux-gnu/qt5/examples TestsPath: /usr/tests SettingsPath: /etc/xdg
and working. Download my file.

Please Log in to join the conversation.

More
5 years 10 months ago #191506 by persei8
Thanks for checking.
I did add the export line to .bashrc - didn't make any difference.
Code:
jim@Inspiron-1720:~$ echo $PYQTDESIGNERPATH /usr/lib/python2.7/dist-packages/qtvcp/plugins/ jim@Inspiron-1720:~$ echo $QT_PLUGIN_PATH /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python
I suspect that designer is not looking in the ....qt5/plugins/designer/python location. Chris's test_plugin.py is in there and is ignored so I need to figure out how to make it look in there. I thought it was automatic, but maybe not.
Here's the contents of /usr/lib/x86_64-linux-gnu/qt5/qt.conf:
Code:
[Paths] Prefix=/usr ArchData=lib/x86_64-linux-gnu/qt5 Binaries=lib/qt5/bin Data=share/qt5 Documentation=share/qt5/doc Examples=lib/x86_64-linux-gnu/qt5/examples Headers=include/x86_64-linux-gnu/qt5 HostBinaries=lib/qt5/bin HostData=lib/x86_64-linux-gnu/qt5 HostLibraries=lib/x86_64-linux-gnu Imports=lib/x86_64-linux-gnu/qt5/imports Libraries=lib/x86_64-linux-gnu LibraryExecutables=lib/x86_64-linux-gnu/qt5/libexec Plugins=lib/x86_64-linux-gnu/qt5/plugins Qml2Imports=lib/x86_64-linux-gnu/qt5/qml Settings=/etc/xdg Translations=share/qt5/translations
I'm pretty much out of ideas. So next up is compile time I guess.

Please Log in to join the conversation.

More
5 years 10 months ago #191507 by hottabich
Download my files and put them in addresses via mc root. Bashrc file and at the end of the file write
as in the screenshot and duplicated in the terminal. There are users who work this way.
Code:
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer
one python

Please Log in to join the conversation.

More
5 years 10 months ago #191508 by persei8
Well, it's fixed.

sudo apt-get install libpython-dev

This does not appear in the instructions in section 2.2 Get Designer to include linuxcnc widgets in the qtvcp documentation. Perhaps it could be?
Phillc54 wrote a bash script that does have this line in it, although it's called python-dev, don't know what the difference is, but it works.

Please Log in to join the conversation.

More
5 years 10 months ago #191513 by hottabich
Have you watched this? Please take a screenshot of the terminal when starting the designer. Thanks.

Please Log in to join the conversation.

More
5 years 10 months ago #191515 by Aciera
I haven't read through the whole thread so maybe you have already done this. Setting the the debug_plugins variable to a nonzero value gave me a more meaningful error message:

$ export QT_DEBUG_PLUGINS=1

Please Log in to join the conversation.

More
5 years 10 months ago #191525 by cmorley
Did you try adding the link in

User/.designer/plugins/python?

That path I quoted is a guess... the qtvcp docs should help you figure out the actual path....its a hidden folder in your user folder.

Yes if the test file doesn'nt print, then something is wrong with path or privileges or the library..

Please Log in to join the conversation.

More
5 years 10 months ago #191527 by persei8
No I didn't try that. There's no such folder under .designer.
But did you see 3 posts back where I said it was fixed? The problem was that libpython-dev was not installed. There's no mention of that particular module in the qtvcp docs.

Please Log in to join the conversation.

More
5 years 10 months ago #191539 by cmorley
I missed you got it fixed (I'm at work)

I'll add that library to the list ..thank uou.

Please Log in to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum