Fixed MSVS 2012 build
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "countryregister.h"
|
||||
|
||||
#include "countryregistergrid.h"
|
||||
#include "countryregister-odb.hxx"
|
||||
|
||||
CountryRegister::CountryRegister()
|
||||
{
|
||||
|
||||
@@ -7,8 +7,17 @@
|
||||
#include <QSharedPointer>
|
||||
#include <data/comboitem.h>
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#if defined(COUNTRYREGISTER_LIBRARY)
|
||||
# define COUNTRYREGISTERSHARED_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
# define COUNTRYREGISTERSHARED_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
|
||||
#pragma db object
|
||||
class CountryData : public ComboItem
|
||||
class COUNTRYREGISTERSHARED_EXPORT CountryData : public ComboItem
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QString code2 READ code2 WRITE setCode2)
|
||||
|
||||
Reference in New Issue
Block a user