It is Q_CC_MSVC and not QT_CC_MSVC
You maybe have not set BUILD_QGRID when building your dll (as the error states you're using dllimport == Q_DECL_IMPORT).
Please read about importing / exporting symbols in your favorite msvc book / at msdn.mcrosoft.com
Bookmarks