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

4 comments:

  1. great it use UTF-8, what about the ltr & rtl & alignment ?

    ReplyDelete
  2. i will check and post code here isA
    :)
    Thanks for visiting ya MAF

    ReplyDelete
  3. 02A90DA880
    In today's digital age, having a user-friendly website is essential for businesses to reach their target audience effectively. A well-designed site not only enhances credibility but also improves customer engagement. Many companies are turning to innovative solutions to optimize their website performance and ensure a seamless user experience.

    ReplyDelete