PySide6 Designer Custom Widget Directory Structure
-
I'm trying to structure my custum widgets or plugins in a way such that all the required files are not all in the same directory. QtDesigner sees the TicTacToe custom widget (https://doc.qt.io/qtforpython-6/examples/example_designer_taskmenuextension.html#task-menu-extension-example) when all the files are in the same directory, but it doesn't when I separate them (and of course modify the import paths). Do the files all have to be in the same directory?
-
You can also rely on the PYSIDE_DESIGNER_PLUGINS variable to point where the plugin is?
https://doc.qt.io/qtforpython-6/tutorials/basictutorial/uifiles.html#designer-custom-widgets