at the end you must show your label
Qt Code:
  1. ptrLbl->show();
To copy to clipboard, switch view to plain text mode