With the new registered QMetaType and the support in EmbeddedPython.cpp, the direct conversion from QList<int> to QVariant now works great, thanks!
As for the @import rule, the problem now is if I write something plainly wrong, like
Code:
@import { src: url(cssprova.css); }
the parser doesn't raise an error, and the serialization ends up with something like this: