From 0af9bb58e1cdf59816e73f3776b01e977d41f741 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. Change-Id: I9e201d82890c92ddd2f6aad48eef0edc9a7c46ef Reviewed-by: Laszlo Agocs (cherry picked from commit 055bc81bd14aacde68c6404c0ec5f8346a22d105) Reviewed-by: Qt Cherry-pick Bot --- 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 47d6c3f6d75..76779fdca8e 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