Thursday, July 08, 2010

writing in Arabic On Qt

in your constructor put this line:
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
// i tried it with a QLabel and it worked
tada , you now have arabic support in your User interface

3 comments: