at the end, only thing i figure out I can do is place an item (image/svg/etc) to the webpage via JS, something like:
onLoadingChanged: (status) => { if (!loading) { const jsCode = `const img = document.createElement('img'); img.src = 'https_//www.google.com/image.jpg'; // note, some pages have security that wont allow images which is not from their domain... to me best oslution is not to create img here but svg which jas no link to the image, but its draw via JS img.alt = 'Example Image'; img.style.position = 'fixed'; // absolute / relative, etc img.style.width = '20px'; img.style.height = '20px'; img.style.top = '20px'; img.style.left = '20px'; img.style.zIndex = '999999'; // to make sure its always topmost document.body.appendChild(img); img.addEventListener('click', function() { window.location.href = 'https://www.google.com'; });`; webview.runJavaScript(jsCode); } }Mobile and Embedded
The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.0k
Topics
62.1k
Posts
-
-
Qt 6,6,3 android problem
Unsolved -
-
-
This topic is deleted!
Unsolved -
-
Update Qt 6.6.1 to 6.7.2
Unsolved -
This topic is deleted!
Unsolved -
-
-
qt 5.15 android debian 11
Unsolved -
Qt App crashes suddenly on iPad
Unsolved -
-
-
-
-
QtVncServer questions
Unsolved -
-
-