Converts a Quantity to an equivalent QVariant
QVariant is analog to Quantity except that the dimensions are stored in a private field instead of a type parameter. This makes QVariant "dimensionnaly variant", so that a variable of type QVariant can hold quantities of variable dimensions. Yet, only operations that are dimensionnaly consistent can be performed on QVariant variables.
This module defines dimensionnaly variant quantities.