All displayed text in my project is in Greek. I didn't use tr()
, just Greek characters directly. And for the correct encoding I was using:
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("ISO 8859-7"));//for Greek
Qt5 took setCodecForCStrings
away , and all the characters are displayed as "???????"
. Is there a workaround?
Please note this is a big project, I want to avoid using code for every string in the program.