Fix missing export macros

This commit is contained in:
Martchus 2020-01-10 18:01:37 +01:00
parent e99c3f4ef7
commit 2d704cf765
3 changed files with 7 additions and 3 deletions

View File

@ -10,7 +10,7 @@ set(META_APP_CATEGORIES "Network;FileTransfer")
set(META_GUI_OPTIONAL false)
set(META_VERSION_MAJOR 0)
set(META_VERSION_MINOR 10)
set(META_VERSION_PATCH 5)
set(META_VERSION_PATCH 6)
set(META_VERSION_EXACT_SONAME ON)
set(META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION ON)

View File

@ -1,6 +1,8 @@
#if defined(LIB_SYNCTHING_CONNECTOR_SUPPORT_SYSTEMD) && !defined(DATA_SYNCTHINGSERVICE_H)
#define DATA_SYNCTHINGSERVICE_H
#include "./global.h"
#include <c++utilities/chrono/datetime.h>
#include <QObject>
@ -35,7 +37,7 @@ typedef QList<ManagerDBusUnitFileChange> ManagerDBusUnitFileChangeList;
enum class SystemdScope { System, User };
class SyncthingService : public QObject {
class LIB_SYNCTHING_CONNECTOR_EXPORT SyncthingService : public QObject {
Q_OBJECT
Q_PROPERTY(QString unitName READ unitName WRITE setUnitName NOTIFY unitNameChanged)
Q_PROPERTY(bool systemdAvailable READ isSystemdAvailable NOTIFY systemdAvailableChanged)

View File

@ -1,6 +1,8 @@
#ifndef SYNCTHINGTESTHELPER_H
#define SYNCTHINGTESTHELPER_H
#include "./global.h"
#include <c++utilities/conversion/stringbuilder.h>
#ifndef SYNCTHINGTESTHELPER_FOR_CLI
@ -50,7 +52,7 @@ inline std::ostream &operator<<(std::ostream &o, const QSet<QString> &qstringset
namespace CppUtilities {
extern double timeoutFactor;
extern double SYNCTHINGTESTHELPER_EXPORT timeoutFactor;
/*!
* \brief Waits for the \a duration specified in ms while keeping the event loop running.