Hi,
is there any way to display QChar on console but as text?
For example I have
const QChar Union{0x22C3
};
const QChar Union{0x22C3};
To copy to clipboard, switch view to plain text mode
And now when i want to see this char on console I must cast it to QString
qDebug()<< QString(Union);
To copy to clipboard, switch view to plain text mode
so maybe will be better to store all unicode char immediately as const QString?
QString Union(0x22C3);
To copy to clipboard, switch view to plain text mode
then I can avoid casting from QChar to QString. But whether then I do not lose more memory? Because sizeof of
const QChar Union2
(0x22C3
);
const QString Union{0x22C3};
const QChar Union2(0x22C3);
To copy to clipboard, switch view to plain text mode
return 8 and 2 respectively so.... what is wrong with this?
Regards,
Bookmarks