Added CMakeMacros
replaced ..size() with QVariant::fromValue(...size())

DN wrote: Seems a common problem because QVariant has no direct
'long unsigned int' support which size_t seems typedef'ed to on
some 64bit systems.