Now, you should be able to implement other constructors and conversions for QtPythonValue that operates on the float, bool, or even on QDate and QTime types. Try implementing them yourself. If needed, take a look at the Python documentation to find appropriate calls that you should use.
We'll give you a head start by providing a skeleton implementation of how to convert QVariant to QtPythonValue. This is especially important, because Python makes use of two types whose equivalents are ...