No linuxcnc widgets in designer

More
09 Dec 2020 15:52 #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:
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 or Create an account to join the conversation.

More
09 Dec 2020 17:01 - 09 Dec 2020 17:18 #191505 by hottabich
[url= Скачать ] Скачать [/url]I have exactly this
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.
Attachments:
Last edit: 09 Dec 2020 17:18 by hottabich.
The following user(s) said Thank You: persei8

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

More
09 Dec 2020 17:26 #191506 by persei8
Thanks for checking.
I did add the export line to .bashrc - didn't make any difference.
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:
[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 or Create an account to join the conversation.

More
09 Dec 2020 17:36 - 09 Dec 2020 17:39 #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.
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer
one python
Last edit: 09 Dec 2020 17:39 by hottabich.

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

More
09 Dec 2020 18:01 #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 or Create an account to join the conversation.

More
09 Dec 2020 18:30 #191513 by hottabich
Have you watched this? Please take a screenshot of the terminal when starting the designer. Thanks.
Attachments:

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

More
09 Dec 2020 18:46 #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 or Create an account to join the conversation.

More
09 Dec 2020 20:02 #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 or Create an account to join the conversation.

More
09 Dec 2020 20:20 #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.
The following user(s) said Thank You: Pro_El

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

More
09 Dec 2020 22:21 #191539 by cmorley
I missed you got it fixed (I'm at work)

I'll add that library to the list ..thank uou.
The following user(s) said Thank You: tommylight, Pro_El

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

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