thanx for replying christian,
but the same error persists.
i don know why ... is there some error in import/export
my code goes as :
#ifdef Q_OS_WIN
#ifdef BUILD_QGRID
# define QGRID_EXPORT Q_DECL_EXPORT
#else
# define QGRID_EXPORT Q_DECL_IMPORT
#endif
# else
# define QGRID_EXPORT
# endif
#ifdef Q_OS_WIN
#ifdef BUILD_QGRID
# define QGRID_EXPORT Q_DECL_EXPORT
#else
# define QGRID_EXPORT Q_DECL_IMPORT
#endif
# else
# define QGRID_EXPORT
# endif
To copy to clipboard, switch view to plain text mode
i tried ur code ... i gives error :
fatal error C1017: invalid integer constant expression
fatal error C1017: invalid integer constant expression
To copy to clipboard, switch view to plain text mode
i changed
#if QT_CC_MSVC to #ifdef QT_CC_MSVC
it gave same error as earlier ..
xxx : warning C4273: 'public: static struct QMetaObject const QGrid::staticMetaObject' : inconsistent dll linkage. dllexport assumed.
xxx : error C2491: 'QGrid::staticMetaObject' : definition of dllimport static data member not allowed
xxx : warning C4273: 'metaObject' : inconsistent dll linkage. dllexport assumed.
xxx : warning C4273: 'qt_metacast' : inconsistent dll linkage. dllexport assumed.
xxx : warning C4273: 'qt_metacall' : inconsistent dll linkage. dllexport assumed.
xxx : warning C4273: 'public: static struct QMetaObject const QGrid::staticMetaObject' : inconsistent dll linkage. dllexport assumed.
xxx : error C2491: 'QGrid::staticMetaObject' : definition of dllimport static data member not allowed
xxx : warning C4273: 'metaObject' : inconsistent dll linkage. dllexport assumed.
xxx : warning C4273: 'qt_metacast' : inconsistent dll linkage. dllexport assumed.
xxx : warning C4273: 'qt_metacall' : inconsistent dll linkage. dllexport assumed.
To copy to clipboard, switch view to plain text mode
Bookmarks