Just put it into the resource and "import" that resource path.
If you have main.qml in the resource as well, just use the relative path.

Cheers,
_