How to modify button display text in html5?
-
wrote on 6 May 2023, 10:04 last edited by
-
@mirro
Normally the point of WebAssembly is not to write anything in HTML. You just write with Qt widget calls and it sorts it out for you. So why are you trying to modify from HTML? -
wrote on 7 May 2023, 07:24 last edited by JonB 5 Jul 2023, 09:53
@mirro
I have no idea what this means. As I stated, to the best of my knowledge the point of a WebAssembly application is not to even know it is rendering in HTML. You write your code 100% as though it were a C++ Qt widgets application.Have you written a WebAssembly application before? What are you actually trying to achieve with "How to pass parameters between webassembly for qt and htm5?"?
-
@mirro
I have no idea what this means. As I stated, to the best of my knowledge the point of a WebAssembly application is not to even know it is rendering in HTML. You write your code 100% as though it were a C++ Qt widgets application.Have you written a WebAssembly application before? What are you actually trying to achieve with "How to pass parameters between webassembly for qt and htm5?"?
-
@JonB Do you mean that Qt for WebAssembly can only be displayed in the html5, and can not communicate with the html5?
wrote on 7 May 2023, 10:01 last edited by JonB 5 Jul 2023, 10:02@mirro
I have not used WebAssembly. The following is my understanding.You can only access the webassembly page via the JavaScript DOM. Qt
QWebChannel
lets you do that.I ask again, and will not repeat further:
What are you actually trying to achieve with "How to pass parameters between webassembly for qt and htm5?"?
Maybe you do not want a full webassembly application but instead just a
QWebEnginePage
, I don't know.
6/6