summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2023-04-21 13:08:24 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2023-04-24 07:19:43 +0000
commitb3509323a4552eb1c4a43218cb715904400d0d62 (patch)
treef9deb50a6f64df1be326813ed7de68eaccda6a19
parent4c188eff3d63f60a891a609993390fedb8e9f639 (diff)
downloadqbs-b3509323a4552eb1c4a43218cb715904400d0d62.tar.gz
Fix export macro for some functions
Change-Id: I14621ffa3102d24518db0360eb71d37f2b517d60 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
-rw-r--r--src/lib/corelib/tools/fileinfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/corelib/tools/fileinfo.h b/src/lib/corelib/tools/fileinfo.h
index f0a09a16b..3ad585f74 100644
--- a/src/lib/corelib/tools/fileinfo.h
+++ b/src/lib/corelib/tools/fileinfo.h
@@ -99,10 +99,10 @@ private:
bool removeFileRecursion(const QFileInfo &f, QString *errorMessage);
-// FIXME: Used by tests.
-bool QBS_EXPORT removeDirectoryWithContents(const QString &path, QString *errorMessage);
-bool QBS_EXPORT copyFileRecursion(const QString &sourcePath, const QString &targetPath,
- bool preserveSymLinks, bool copyDirectoryContents, QString *errorMessage);
+bool QBS_AUTOTEST_EXPORT removeDirectoryWithContents(const QString &path, QString *errorMessage);
+bool QBS_AUTOTEST_EXPORT copyFileRecursion(
+ const QString &sourcePath, const QString &targetPath, bool preserveSymLinks,
+ bool copyDirectoryContents, QString *errorMessage);
} // namespace Internal
} // namespace qbs