You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a correct way to include other files/directories when building the installer/executable directory?
I'm asking because I'm loading the .ui files at runtime in my code to load the QT widgets ...etc.
class AppContext(ApplicationContext): # 1. Subclass ApplicationContext
def run(self): # 2. Implement run()
form = MainForm('forms/mainwindow.ui')
return self.app.exec_() # 3. End run() with this line
I know it has the resource/base directory, would this be the best place for my .ui files?
The text was updated successfully, but these errors were encountered:
Is there a correct way to include other files/directories when building the installer/executable directory?
I'm asking because I'm loading the .ui files at runtime in my code to load the QT widgets ...etc.
I know it has the resource/base directory, would this be the best place for my .ui files?
The text was updated successfully, but these errors were encountered: