qtvcp issues

  • auto-mation-assist
  • Offline
  • Platinum Member
  • Platinum Member
More
8 years 1 week ago - 8 years 1 week ago #119232 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
Yes I will supply it as a sample screen when its ready.
Last edit: 8 years 1 week ago by auto-mation-assist.

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

  • auto-mation-assist
  • Offline
  • Platinum Member
  • Platinum Member
More
8 years 1 week ago - 8 years 1 week ago #119234 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
Today I wanted to make a custom widget to test and got my self running around in circles since my widget did not show up in the HAL area of the QT designer no matter what I did. I was able to trace this problem down.

In my system the qtvcp_plugin.py in the below folder is not actually used by the QT designer.

/home/cnc/qt5vcp_py2/lib/python/qtvcp/plugins/qtvcp_plugin.py

Instead it is using:
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py, and pulling widgets from:

/home/cnc/qt5vcp_py2/lib/python/qtvcp/widgets

The qtvcp_plugin.py file in /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/ is not automatically updated when changes are made.

Perhaps it changed the location when I did a web install of QT some time back but that would be just a guess.
Last edit: 8 years 1 week ago by auto-mation-assist. Reason: Widgets file location correction

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

More
8 years 1 week ago #119237 by cmorley
Replied by cmorley on topic qtvcp issues
There should be a _link_ (has a little arrow on the icon) from
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py
that points to:
/home/cnc/qt5vcp_py2/lib/python/qtvcp/plugins/qtvcp_plugin.py

Since it's a link, designer will see any updates in the repo.

Chris M

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

  • auto-mation-assist
  • Offline
  • Platinum Member
  • Platinum Member
More
8 years 1 week ago #119243 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
I looked and there is is no arrow on the icon.

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

More
8 years 1 week ago #119244 by cmorley
Replied by cmorley on topic qtvcp issues
That suggest to me that it is not a link but a copy of the qtvcp_plugin file.

To make a link with your file manager, go to:
/home/cnc/qt5vcp_py2/lib/python/qtvcp/plugins/qtvcp_plugin.py
select qtvcp_plugin.py
and under edit should be 'make links' - select that and it will make a link in the folder. (should see the arrow now)
move this link to (sudo required):
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/

That should do it.
I rename the link when i do it but i don't think you need to.

Chris M

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

  • auto-mation-assist
  • Offline
  • Platinum Member
  • Platinum Member
More
8 years 1 week ago #119245 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
I got it linked now, had to rename the original that was there first.

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

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