aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/tools/filesaver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/tools/filesaver.h')
-rw-r--r--src/lib/corelib/tools/filesaver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/corelib/tools/filesaver.h b/src/lib/corelib/tools/filesaver.h
index 38228ed0c..07ba5ac25 100644
--- a/src/lib/corelib/tools/filesaver.h
+++ b/src/lib/corelib/tools/filesaver.h
@@ -40,6 +40,8 @@
#ifndef FILESAVER_H
#define FILESAVER_H
+#include "qbs_export.h"
+
#include <QtCore/qbuffer.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qscopedpointer.h>
@@ -51,7 +53,7 @@ namespace Internal {
/*!
* QSaveFile wrapper which doesn't update the target file if the contents are unchanged.
*/
-class FileSaver {
+class QBS_EXPORT FileSaver {
public:
FileSaver(const QString &filePath, bool overwriteIfUnchanged = false);