Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. How to modify button display text in html5?

How to modify button display text in html5?

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
6 Posts 2 Posters 414 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mirro
    wrote on last edited by
    #1

    alt text

    JonBJ 1 Reply Last reply
    0
    • M mirro

      alt text

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @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?

      M 1 Reply Last reply
      0
      • JonBJ JonB

        @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?

        M Offline
        M Offline
        mirro
        wrote on last edited by
        #3

        @JonB How to pass parameters between webassembly for qt and htm5?

        JonBJ 1 Reply Last reply
        0
        • M mirro

          @JonB How to pass parameters between webassembly for qt and htm5?

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @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?"?

          M 1 Reply Last reply
          0
          • JonBJ JonB

            @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?"?

            M Offline
            M Offline
            mirro
            wrote on last edited by
            #5

            @JonB Do you mean that Qt for WebAssembly can only be displayed in the html5, and can not communicate with the html5?

            JonBJ 1 Reply Last reply
            0
            • M mirro

              @JonB Do you mean that Qt for WebAssembly can only be displayed in the html5, and can not communicate with the html5?

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #6

              @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.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved