D8544: KTextEditor : avoiding QML crashes

Christoph Cullmann noreply at phabricator.kde.org
Tue Oct 31 12:42:47 UTC 2017


cullmann added a comment.


  Before we got to excessive solutions, I assume you have a build were you can reproduce the crashs.
  
  If you add to your version the line:
  
  qputenv("QV4_FORCE_INTERPRETER", QByteArrayLiteral("1"));
  
  into KTextEditor::EditorPrivate::EditorPrivate constructor in kateglobal.cpp, does that solve the crashs for you?
  
  If that works one could add that there with some dynamic check with qVersion() inside a
  
  #if QT_VERSION < QT_VERSION_CHECK(5, 9, 1)
  
  block.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D8544

To: rjvbb, #frameworks
Cc: cullmann, kde-frameworks-devel, kevinapavew, demsking, head7, kfunk, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171031/8f20bc5b/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list