Hello,

jst convert ur array[] to QString..

Qt Code:
  1. char array[] = "Hello World";
  2. QString *str = NULL;
  3.  
  4. str = array;
  5.  
  6. QLabel tempLabel;
  7.  
  8. tempLabel.setText( str );
To copy to clipboard, switch view to plain text mode