diff --git a/src/gui/rhi/cs_tdr.h b/src/gui/rhi/cs_tdr_p.h similarity index 95% rename from src/gui/rhi/cs_tdr.h rename to src/gui/rhi/cs_tdr_p.h index f80cb3a498..620a4a101d 100644 --- a/src/gui/rhi/cs_tdr.h +++ b/src/gui/rhi/cs_tdr_p.h @@ -34,7 +34,21 @@ ** ****************************************************************************/ -#include +#ifndef CS_TDR_P_H +#define CS_TDR_P_H + +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists for the convenience +// of other Qt classes. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + +#include #ifdef Q_OS_WIN @@ -207,3 +221,5 @@ const BYTE g_killDeviceByTimingOut[] = }; #endif // Q_OS_WIN + +#endif // CS_TDR_P_H diff --git a/src/gui/rhi/qrhid3d11.cpp b/src/gui/rhi/qrhid3d11.cpp index 1d2f3cfa80..0b1822c0f5 100644 --- a/src/gui/rhi/qrhid3d11.cpp +++ b/src/gui/rhi/qrhid3d11.cpp @@ -36,7 +36,7 @@ #include "qrhid3d11_p_p.h" #include "qshader_p.h" -#include "cs_tdr.h" +#include "cs_tdr_p.h" #include #include #include