Let's say I have text component:
Text {
text: "Hello"
wrapMode: Text.WordWrap
}
How to make it selectable?
That is a bug reported: QTBUG-14077, and the workaround is to use TextEdit
in read-only mode:
TextEdit {
text: "Hello"
readOnly: true
wrapMode: Text.WordWrap
selectByMouse: true
}