slaclab / pydm

Python Display Manager
http://slaclab.github.io/pydm/
Other
113 stars 78 forks source link

Fix PYQTDESIGNERPATH mechanism for pydm pip installations? #1105

Open peroame opened 3 months ago

peroame commented 3 months ago

When installing pydm through pip, the PYQTDESIGNERPATH designer mechanism designer doesn't seem to work, ie the pydm widgets are not visible. I believe this is because the designer needs to read pydm_designer_plugin.py but the pip installation starts from one level below the top pydm directory that contains that file. If this is true, I believe it would be worth fixing pip pydm, if not, please let me know what I'm missing.

Thank you! Amedeo

nstelter-slac commented 1 week ago

ive put up a patch that should fix this issue (still needs review + merge): https://github.com/slaclab/pydm/pull/1132

but here's some general info on the topic that might be useful: