These work fine here (Qt 4.7.4):
// Force the text format
label1->setTextFormat(Qt::RichText);
label1->setText("ƒ Δ");
// Qt::AutoText detects the HTML and goes rich text
QLabel *label1
= new QLabel("<html><body>ƒ Δ<body></html>",
this);
// Force the text format
QLabel *label1 = new QLabel(this);
label1->setTextFormat(Qt::RichText);
label1->setText("ƒ Δ");
// Qt::AutoText detects the HTML and goes rich text
QLabel *label1 = new QLabel("<html><body>ƒ Δ<body></html>", this);
To copy to clipboard, switch view to plain text mode
and this does not because the rich text processing is not triggered:
QLabel *label1 = new QLabel("ƒ Δ", this);
To copy to clipboard, switch view to plain text mode
Bookmarks