thank you each for your responses
@SGaist said in QFormBuilder was unable to create a custom widget of the class 'QVideoWidget':
What step did you use to create the original file that works with PyQt5 but not PySide2 ?
Is it only a bug in Qt Creator or does it also fail at run time ?
making a new project in qt-creator using python auto-generates the code for PyQt5, then i switched the imports to PySide2, and changed the uic method of loading UI for the QUiLoader method. everything else remains completely untouched, and 100% of everything else seems to be perfectly functional without producing any error
the application will continue to run and function perfectly normal, but the widget won't appear. it's more of an 'ignore' than a 'fail'. from the bug report responses it seems maybe there just -isn't- a QVideoWidget for PySide2?
@JonB said in QFormBuilder was unable to create a custom widget of the class 'QVideoWidget':
you do not have to be able to put a widget on a Designer form or make it work with Promote to use it. Before you say you might abandon the whole Qt approach, are you aware that you can indeed create desired widget type at runtime even if you cannot see it/do so at design-time?
i am aware, it's what i spoke of in this quote, though the way i worded it could have been more clear and could lead to confusion.
@publicname40828 said in QFormBuilder was unable to create a custom widget of the class 'QVideoWidget':
however, in the mean time i've figured out how to neatly embed QVideoWidget declared in python within an existing UI outside of qt creator
i declared the QVideoWidget in python providing the ui as a parent (in arg), then used setGeometry to make it fit the exact location of the widget that was made in the form.ui. this is the only Widget that isn't working for me in the transition from PyQt5 to PySide2 so migrating the project will no longer be necessary, and being able to get the exact geometry in a glance in qt-creator made it a relatively quick fix