QT segfault when accessing ui objects

I'm starting with QT for a hobby project. My design called for a public method inside of my QMainWindow main window. the method will update the text in the display. When calling anything using the ''ui->'' pointer, the app would segfault. The QT Creator debugger showed the ui pointer as …

more ...