summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qfile.h')
-rw-r--r--src/corelib/io/qfile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/corelib/io/qfile.h b/src/corelib/io/qfile.h
index 057e9e12e8..93002318fb 100644
--- a/src/corelib/io/qfile.h
+++ b/src/corelib/io/qfile.h
@@ -47,6 +47,13 @@
#if QT_CONFIG(cxx17_filesystem)
#include <filesystem>
+#elif defined(Q_CLANG_QDOC)
+namespace std {
+ namespace filesystem {
+ class path {
+ };
+ };
+};
#endif
#ifdef open