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 <laszlo.agocs@qt.io>
bb10
Yuhang Zhao 2023-06-20 11:55:47 +08:00 committed by Yuhang Zhao
parent 46aa713c34
commit 055bc81bd1
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
//
#include "qrhi_p.h"
#include "qshaderdescription.h"
#include <rhi/qshaderdescription.h>
#include <qopengl.h>
#include <QByteArray>
#include <QWindow>