hi .
i want write App that send SMS for Symbian device .
Qt Code:
  1. QMessage message;
  2. QMessageAddressList toList;
  3. QMessageAddress::Type addrType(QMessageAddress::Phone);
  4. toList.append(QMessageAddress(addrType, ui->numberEdit->text()));
  5. message.setType(QMessage::Sms);
  6. message.setTo(toList);
  7. message.setBody(ui->messageEdit->text());
  8. service->send(message);
To copy to clipboard, switch view to plain text mode 

but when i use this code doesn't work.
where is my problem in this code ?????????

please help me for solve this problem.
tanks .