Yes, I forgot the UI file in the transition from a QMainWindow class to a QWidget class.