Tasssadar / Lorris

Lorris is GUI frontend for nearly anything you give it. You can use serial port, socket or file as source. Well, at least will be, right now its WIP.
http://tasssadar.github.com/Lorris/
GNU General Public License v3.0
34 stars 13 forks source link

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

Open dustin-robotics opened 10 years ago

dustin-robotics commented 10 years ago

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); } }

dzarda commented 10 years ago

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

dustin-robotics commented 10 years ago

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