Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit c9ff85f

Browse files
committed
fixed windows build
1 parent c40d32a commit c9ff85f

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

src/datasync/changecontroller.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "changecontroller_p.h"
22

3+
#include <QtCore/QMetaEnum>
4+
35
using namespace QtDataSync;
46

57
#define UNITE_STATE(x, y) (x | (y << 16))

src/datasync/sqllocalstore.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#include "sqllocalstore_p.h"
33

44
#include <QtCore/QJsonArray>
5+
#include <QtCore/QJsonDocument>
6+
#include <QtCore/QUuid>
7+
#include <QtCore/QTemporaryFile>
58

69
#include <QtSql/QSqlQuery>
710
#include <QtSql/QSqlError>

tools/qdatasyncserver/app.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void App::setupParser(QCommandLineParser &parser, bool useShortOptions)
5353

5454
#ifdef Q_OS_UNIX
5555
auto path = QStringLiteral("/etc/%1/setup.conf").arg(QStringLiteral(TARGET));
56-
#elif
56+
#else
5757
auto path = QCoreApplication::applicationDirPath() + QStringLiteral("/setup.conf");
5858
#endif
5959
parser.addOption({

0 commit comments

Comments
 (0)