I am trying to retrieve the data of an image in Javascript using XMLHttpRequest.  var xhr = new XMLHttpRequest(); xhr.open("GET", "http://www.celticfc.net/images/doc/celticcrest.png"); xhr.onreadystatechange = function() {     if (xhr...
I used to do it by attaching an object  self.page().mainFrame().addToJavaScriptWindowObject("js_interface", self.jsi)   In 5.7 I do:  self.page().setWebChannel(self.jsi)   But I understandibly get a JavaScript error when I try to access expos...
Edit: With the help of Qt support, I have solved how to automate these 2 parts of the Qt enterprise installer. below is the script calls.  I'm trying to silent install Qt 5.5.1 Enterprise on Windows 8.1 and Windows 10, using the "--script"...
I am trying to create an HTML GUI for an application using Qt's WebKit... so far everything is going smooth with a minor problem, I don't want people to be able to drag and drop images from my GUI. I have disabled text selection using a small...
tldr: recently, my use of the Google Maps JavaScript API v3 does not show routes or markers anymore. It works fine on my Debian-box, but not on any Windows computer I tried (ranging XP to Windows 8). Has there been a recent change in the API? Is my c...
With QtWebkit it is possible to expose C++ objects to Javascript via QWebFrame::addToJavaScriptWindowObject as described in https://stackoverflow.com/a/20685002/595937    Can the same thing be accomplished in Qt 5.4 using QtWebEngine?...
It seems like it is possible to get the code of a function in JavaScript, and that it is as simple as:  function foo() {...} foo.toString()   However, doing that in QML gives me a rather uninspiring function () { [code] }  So is there a way to get th...
As described in the title my problem is that qwebview doesn't load a html file correctly if it resides in my resources. It loads it perfectly if I load it from outside of the resources as normal local file. But this is not an option for me. I wou...
I am writing a small application using Qt and QML that uses the example in the Qt documentation WebEngine Quick Nano Browser.   In this example I am trying to access to my email. I can do it, but I am trying to enter username and password automatical...
i want to create a curved text in qml it's possible? Is there a javascript library that i can import to do it?    My idea is that it's possible maybe with canvas element but i don't know how i can do it... it's a good idea??  Window {...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.