Lorris icon indicating copy to clipboard operation
Lorris copied to clipboard

On Linux x64, Attempting to add script causes Lorris to crash

Open dustin-robotics opened this issue 10 years ago • 2 comments

Just noticed that on windows 8, adding a script doesn't crash the program, but in Linux debian wheezy x64, running Qt creator 4.8.2, it crashes at QWidget::setFont(f): in Lorris/dep/qscintilla2/qsciscintilla.cpp

// Set the default font. void QsciScintilla::setFont(const QFont &f) { if (lex.isNull()) { // Assume style 0 applies to everything so that we don't need to use // SCI_STYLECLEARALL which clears everything. setStylesFont(f, 0); QWidget::setFont(f); } }

dustin-robotics avatar Jun 12 '14 02:06 dustin-robotics

Just a random thought, try compiling Lorris under Qt5 and/or without QScintilla support. Could result in a quick fix.

dzarda avatar Jun 12 '14 10:06 dzarda

Your suggestion worked, I commented out the qsci_editor line in dep.pro, and now I can edit scripts in Linux as well!

dustin-robotics avatar Jun 12 '14 13:06 dustin-robotics