From 055bc81bd14aacde68c6404c0ec5f8346a22d105 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao Date: Tue, 20 Jun 2023 11:55:47 +0800 Subject: [PATCH] rhi: fix compilation error when using rhi headers Without this patch, the compiler will complain about can't find "qshaderdescription.h" when using "qrhigles2_p.h" from outside of Qt, which breaks user project compilation. Pick-to: 6.6 Change-Id: I9e201d82890c92ddd2f6aad48eef0edc9a7c46ef Reviewed-by: Laszlo Agocs --- src/gui/rhi/qrhigles2_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/rhi/qrhigles2_p.h b/src/gui/rhi/qrhigles2_p.h index 47d6c3f6d7..76779fdca8 100644 --- a/src/gui/rhi/qrhigles2_p.h +++ b/src/gui/rhi/qrhigles2_p.h @@ -16,7 +16,7 @@ // #include "qrhi_p.h" -#include "qshaderdescription.h" +#include #include #include #include