Not able to import remote javascript file in QML
General and Desktop
2
Posts
1
Posters
738
Views
1
Watching
-
Hi,
I have this import statement in my code but it doesn't seem to work. qmlscene exits with code 255import "http://127.0.0.1:8030/testbrowser.js" as Browser
the server is running locally on my machine and the url works fine in the browser. I do see a request being sent to my server and a response is sent back to qml too. enabling QML_IMPORT_TRACE does not show anything. What is the reason for this failure? do i need to configure something to allow this file to be downloaded?
Thanks,
Rohit