diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-22 16:23:07 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-22 20:56:07 +0200 |
commit | a6a2c00ee32f6d80b2dc7af65f8be53f5198722f (patch) | |
tree | 5685d2157452430302a110cc99e1922adbe1a9ab /src/corelib/io/qdir.h | |
parent | 1d6b7a27cb90d71e4cb5add4fd996d0cb9b02cfe (diff) |
Fix some qdoc warnings: std::filesystem::path getters
Those APIs need to be declared for qdoc runs, even if cxx17_filesystem is not.
Change-Id: Iaa437aa424f35d0414b6b79328bcafb49af872b3
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/io/qdir.h')
-rw-r--r-- | src/corelib/io/qdir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qdir.h b/src/corelib/io/qdir.h index f4cf621e80..8b8aa05223 100644 --- a/src/corelib/io/qdir.h +++ b/src/corelib/io/qdir.h @@ -139,7 +139,7 @@ public: QString path() const; QString absolutePath() const; QString canonicalPath() const; -#if QT_CONFIG(cxx17_filesystem) +#if QT_CONFIG(cxx17_filesystem) || defined(Q_CLANG_QDOC) std::filesystem::path filesystemPath() const { return QtPrivate::toFilesystemPath(path()); } std::filesystem::path filesystemAbsolutePath() const |