diff --git a/src/corelib/io/qfile.h b/src/corelib/io/qfile.h index 057e9e12e87..93002318fbd 100644 --- a/src/corelib/io/qfile.h +++ b/src/corelib/io/qfile.h @@ -47,6 +47,13 @@ #if QT_CONFIG(cxx17_filesystem) #include +#elif defined(Q_CLANG_QDOC) +namespace std { + namespace filesystem { + class path { + }; + }; +}; #endif #ifdef open