Skip to content

Qscintilla Namespace Fix#4332

Merged
ras0219-msft merged 10 commits intomicrosoft:masterfrom
RobertBColton:qscintilla-namespace-fix
Oct 25, 2018
Merged

Qscintilla Namespace Fix#4332
ras0219-msft merged 10 commits intomicrosoft:masterfrom
RobertBColton:qscintilla-namespace-fix

Conversation

@RobertBColton
Copy link
Copy Markdown
Contributor

This fixes conflicts when using QScintilla statically. Otherwise it's possible that QScintilla will conflict with internal Qt sources.

Qt5FontDatabaseSupportd.lib(qwindowsfontdatabase.obj) : error LNK2005: "public: __thiscall FontNames::FontNames(void)" (??0FontNames@@QAE@XZ) already defined in qscintilla2.lib(ViewStyle.obj)

It seems both Qt5 and QScintilla have a class named FontNames that results in this linker error when linking to QScintilla statically. This fixes that problem by making the default QScintilla configuration in VCPKG be namespaced.

@maksqwe
Copy link
Copy Markdown
Contributor

maksqwe commented Oct 10, 2018

Please update QScintilla to 2.10.8
https://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-2.10.8/

@ras0219-msft ras0219-msft merged commit 03f4ab3 into microsoft:master Oct 25, 2018
@ras0219-msft
Copy link
Copy Markdown
Contributor

Thanks for the PR and sorry for the long merge delay!

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.

3 participants