If you have a frame, and create a label with the Frame as parent, and then set the text as rich text
then you only get mousepressevent on that label, the mouse releaseevent is missing.
mAppName = new QLabel(ui->frame); //AppName Label should be path of the master frame
mAppName->setText("<font color=black><font size=12px>Cust App</font>");
if you on the other hand just use plain text, you get both mousepress and release event
mAppName->setText("Test test test test");