New answers tagged

2

You can avoid having to edit the .ui file or compiling, etc by doing the following: import sys sys.path.append(os.path.dirname(__file__)) FORM_CLASS, _ = uic.loadUiType(os.path.join( os.path.dirname(__file__), 'test_dialog_base.ui'), resource_suffix='') resource_suffix defaults to '_rc' which is why it's always looking for 'resources_rc.' (you can ...



Top 50 recent answers are included