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
+10 -1
View File
@@ -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)