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
@@ -5,8 +5,16 @@
#include <QObject>
#include <odb/core.hxx>
#include <QtCore/qglobal.h>
#if defined(POSTREGISTER_LIBRARY)
# define POSTREGISTERSHARED_EXPORT Q_DECL_EXPORT
#else
# define POSTREGISTERSHARED_EXPORT Q_DECL_IMPORT
#endif
#pragma db object
class PostData : public QObject
class POSTREGISTERSHARED_EXPORT PostData : public QObject
{
Q_OBJECT
Q_PROPERTY(QString townPart READ townPart WRITE setTownPart)
+1
View File
@@ -1,6 +1,7 @@
#include "postregister.h"
#include "postregistergrid.h"
#include "postregister-odb.hxx"
PostRegister::PostRegister()
{