forked from qt-creator/qt-creator
Correctly include KSyntaxHighlighting headers
In external KSyntaxHighlighting, these headers now have paths like /usr/include/KF5/KSyntaxHighlighting/KSyntaxHighlighting/AbstractHighlighter, where /usr/include/KF5/KSyntaxHighlighting is passed to compiler as include path. Old headers which had only one KSyntaxHighlighting fragment in path were removed in v5.94.0: https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/305 Adjust our vendored version to make the code work with both external and vendored versions. Change-Id: Iadcc668c3c705c563ae359301d227ee19eadca0f Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
#include <utils/id.h>
|
||||
|
||||
#include <State>
|
||||
#include <KSyntaxHighlighting/State>
|
||||
|
||||
#include <QTextBlockUserData>
|
||||
#include <QPlainTextDocumentLayout>
|
||||
|
||||
Reference in New Issue
Block a user