Convert QString to unsigned char
-
Hi,
after QString s = ui->lineedit1->text();
just type "s.to" and ctrl+space you will get the list of conversions.
hope it helps. -
Check the FAQ: "How can I convert a QString to char* and vice versa?":http://qt-project.org/faq/answer/how_can_i_convert_a_qstring_to_char_and_vice_versa