Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Is it possible to embind Qt class that has a signal in emscripten?

    Qt for WebAssembly
    webassembly embind emscripten javascript signals & slots
    2
    2
    272
    Loading More Posts
    • 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.
    • A
      AliGB last edited by

      I want to send a signal from JS.
      I can embind classes (https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html), but before I attempt to, I wanted to know if signals can be part of the class as well.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • lorn.potter
        lorn.potter last edited by

        I am not sure Qt signals would work. You should certainly be able to so callbacks though.

        Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
        Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

        1 Reply Last reply Reply Quote 0
        • First post
          Last post