Labels

31/08/2010

Qt commands

Convert QString to int
QString num="123";
int n = num.toInt();

Convert Int to QString
int num = 123;
QString str= QString::number(num);

No comments:

Post a Comment