git: 0264cd941160 - main - devel/qtcreator: prepare for KF5-5.94

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Wed, 18 May 2022 19:50:00 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0264cd941160ab8b21e72a2389f83551dd368321

commit 0264cd941160ab8b21e72a2389f83551dd368321
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-05-18 19:29:19 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-05-18 19:49:51 +0000

    devel/qtcreator: prepare for KF5-5.94
    
    PR:             263968
---
 devel/qtcreator/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/qtcreator/Makefile b/devel/qtcreator/Makefile
index fef12593c7b5..4b2dc2480747 100644
--- a/devel/qtcreator/Makefile
+++ b/devel/qtcreator/Makefile
@@ -30,6 +30,10 @@ USE_QT=		buildtools concurrent core declarative designer gui help \
 		quick3d quickcontrols script serialport sql svg testlib \
 		webchannel widgets xml xmlpatterns
 
+# Workaround, KF5-5.94 moved header files to subfolder. Instead of using the bundled
+# syntax-highligher, just help it find the proper files.
+CFLAGS+=	-I${LOCALBASE}/include/KF5/KSyntaxHighlighting/KSyntaxHighlighting
+
 SHEBANG_FILES=		tests/system/tools/objectsToTable.py \
 			tests/system/tools/findUnusedObjects.py \
 			share/qtcreator/templates/wizards/files/python/file.py \