Fixed MSVS 2012 build
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user