Fixed MSVS 2012 build

This commit is contained in:
2017-05-31 22:14:31 +02:00
parent 27ec7282eb
commit b916d626d1
13 changed files with 54 additions and 11 deletions
+9 -1
View File
@@ -10,8 +10,16 @@
#include <enums.h>
#include <QtCore/qglobal.h>
#if defined(SERVICES_LIBRARY)
# define SERVICESSHARED_EXPORT Q_DECL_EXPORT
#else
# define SERVICESSHARED_EXPORT Q_DECL_IMPORT
#endif
#pragma db object
class AccService : public QObject
class SERVICESSHARED_EXPORT AccService : public QObject
{
Q_OBJECT