PDA

View Full Version : Unicode in Qmessagebox?



leon.vitanos
November 6th, 2010, 08:07 PM
want to put a qmessagebox that contains greek characters...

Something like this:


QMessageBox msgBox;
msgBox.setWindowTitle("Wallpaper Changer | Βγάλε Webcam-Εικόνα");
msgBox.setText("<b>Αυτή η λειτουργία θα είναι διαθέσιμη στην<br>επόμενη έκδοση...</b>");
msgBox.setIconPixmap(QIcon(":/icons/Pictures/Webcam.png").pixmap(QSize(128,128)));
msgBox.setWindowIcon(QIcon(":/icons/Pictures/Webcam.png"));
msgBox.exec();

But I get Chinese/strange symbols and not the greek ones I expected. How can this solved??