Well it looks like my last post was deleted when the server went down last night, so let me sum it up. The problem was my javascript was originally in my QML file, in 'Component.onCompleted: {CODE WAS HERE}', in my javascript code I had a multiline quote such as this:
@
Qt.createQmlObject('
DYNAMICALLY GENERATED QML GOES HERE
', parent, myObject);
@
When I copied and pasted the javascript into it's own file I needed to escape the literal newlines such as this:
@
Qt.createQmlObject('
DYNAMICALLY GENERATED QML GOES HERE
', parent, myObject);
@
And that sums it up - _ -