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

Fix QScintilla2 CMake Issues #97

Merged
merged 8 commits into from
Mar 9, 2020
Merged

Fix QScintilla2 CMake Issues #97

merged 8 commits into from
Mar 9, 2020

Conversation

RobertBColton
Copy link
Contributor

@RobertBColton RobertBColton commented Mar 9, 2020

It's qscintilla2_qt5.dll for me in MinGW64 and thus Azure so I added that plus a bunch of other possibilities from a find qscintilla CMakeLists I found online. Then it was able to find the dll, link it, and fundies installer copied it.

I had to remove CodeWidgetPlain.cpp from the sources list because fundies forgot to when he added the find library for qscintilla2 condition. Once I made it find the dll, we were getting multiple definition errors from linking both code widgets until I did this.

Finally, I had to investigate why line numbers were not working and the editor diagnostics was reporting "signal not found in QsciScintilla" in the log window. It turns out that -DQSCINTILLA_DLL is what happens when you CONFIG += qscintilla2 in the qmake pro. That definition is needed to tell QScintilla we are using it as a shared library, otherwise it thinks we are using it as a static library.

And I added a neat little message in here to show that we found QScintilla and where we found it. The result of this is the Azure artifact in this pull request seems to use QScintilla and it has line numbers.

Azure Artifact QScintilla Working

It's qscintilla2 underscore qt5 dot dll for me in MinGW64.
@RobertBColton RobertBColton changed the title Fix QScintilla2 CMake Names Fix QScintilla2 CMake Issues Mar 9, 2020
@RobertBColton RobertBColton merged commit a02a2c3 into master Mar 9, 2020
@RobertBColton RobertBColton deleted the fix-azure-qscintilla branch March 9, 2020 18:23
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

Successfully merging this pull request may close these issues.

2 participants