Hi i have filled a QChar* object with some values and i need to display them using QLineEdit object.Is there a way i can do that?.I have tried QLineEdit::setText() but it only takes a const QString object.any way around this will be highly appreciated.
here is a some code to what am trying to do
Qt Code:
  1. QChar* geti;
  2.  
  3. QChar* idata = ime->text().data();
  4.  
  5. geti[0] = idata[0];
  6. geti[1] = idata[3];
  7. geti[2] = idata[5];
  8. geti[3] = idata[7];
  9.  
  10. displ->setText(geti);
To copy to clipboard, switch view to plain text mode