Important: Please read the Qt Code of Conduct -

Poor TextArea performance

  • Hi all

    I'm trying to use an TextArea-item to edit large amounts of text. Unfortunately, the performance is quite bad :) In my use case, the text property is initialised from an expression that calls an Q_INVOKABLE which then returns a large block of text as a QString. Even with a few thousand lines of 50 characters each, the application main thread freezes: the text area cannot receive focus and the cursor position takes long to update.

    Is this a known issue? Does anyone know of alternative controls - possibly third party - for text editing with QML?

    Best regards,
    Casper Agerskov

Log in to reply