Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dustin-robotics opened this issue Jun 12, 2014 · 2 comments
Open

Comments

@dustin-robotics
Copy link

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
Copy link

dzarda commented Jun 12, 2014

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

@dustin-robotics
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants