-
Notifications
You must be signed in to change notification settings - Fork 39
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
Compilation on Ubuntu 18.04 failed when trying to build scintilla #486
Comments
The issue fixed by explicitly put Then I came across second compile issue where filter.setFilterRegularExpression was incomplete in src/textadept_qt.cpp So both compilation issue was caused by QT version. Maybe my Ubuntu 18.04 is way obsolete. |
Yes, unfortunately the version of Qt provided by Ubuntu 18.04 is not high enough. The undocumented floor for Textadept is Qt 5.12 (Ubuntu 20.04). Once 20.04 becomes unsupported, the floor will probably go up to Qt 5.15 (Ubuntu 22.04) in order to simplify some code -- the code you linked to has comments that Qt 5.15 provides some things that Qt 5.12 does not have. Also, the author of Scintilla works really hard to make sure Scintilla compiles and runs on a wide array of supported platforms. Since Ubuntu 18.04 is not supported anymore, I doubt compatibility with legacy platforms is a priority. It's good that you found a workaround, but while Textadept may work with older versions of Qt, it may not do so indefinitely. |
Thanks @orbitalquark for the clarification. I'll close the issue now. |
I'm trying to compile textadept on Ubuntu 18.04 with Qt version 5.9.5, got some warnings during cmake configuration stage, and failed when trying to build dependent scintilla.
Could someone help me figure out what might go wrong? I'm completely new to either textadept or QT and scintilla, thanks
cmake -S . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cmake --build build
The text was updated successfully, but these errors were encountered: