added include for QVariant header (necessary for compiles on osx)