Qt5.7 this example gives the "pointer" cursor, but Qt5.8, i get the "ibeam" cursor (like i am to insert).
import QtQuick 2.7
import QtQuick.Controls 2
ApplicationWindow
{
width: 1024
height: 800
visible: true
Flickable
{
anchors.fill: parent
flickableDirection: Flickable.VerticalFlick
TextArea.flickable: TextArea
{
font.pixelSize: 25
text: "hello world"
readOnly: true
}
}
}
Is this a deliberate change, if so, how can i show the pointer cursor for a read-only TextArea?
thanks.
update #1:
adding a dummy MouseArea
appears to fix it. I don't know why/
like this:
Flickable
{
anchors.fill: parent
flickableDirection: Flickable.VerticalFlick
TextArea.flickable: TextArea
{
font.pixelSize: 25
text: "hello world"
readOnly: true
MouseArea
{
anchors.fill: parent
enabled: false
}
}
}