Instead of using Templates directly, use QQC2 page as base class for
Kirigami's Page. With Qt 5.14 something in the typing has become more
strict, so assigning Kirigami's Page to a property using QQC2 Page as
type fails.
This fixes Kirigami Gallery for me.