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. Application exit (TypeError: eventHandler.target is null)
Forum Updated to NodeBB v4.3 + New Features

Application exit (TypeError: eventHandler.target is null)

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
8 Posts 3 Posters 1.2k Views 3 Watching
  • 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.
  • W Offline
    W Offline
    waslap
    wrote on last edited by
    #1

    I have downloaded the opensource version of Qt's sources and followed the Qt for WebAssembly instructions to the letter on Fedora 31. All compiled ok but any example i run be it from the official sources or self-created app always gives:
    Application exit (TypeError: eventHandler.target is null)
    Any ideas ?

    1 Reply Last reply
    0
    • lorn.potterL Offline
      lorn.potterL Offline
      lorn.potter
      wrote on last edited by
      #2

      @waslap What version of emscripten are you using?
      Current 5.15 needs Emscripten 1.39.8

      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
      0
      • W Offline
        W Offline
        waslap
        wrote on last edited by waslap
        #3

        Qt 5.14 and ES 1.38.27. I will try 5.15 and ES 1.39.8

        1 Reply Last reply
        0
        • W Offline
          W Offline
          waslap
          wrote on last edited by
          #4

          I've taken the day and built Qt 5.15 from sources and installed Emscripten version 1.39.8 but alas. I have a new error when trying to run my simple example.
          TypeError: NetworkError when attempting to fetch resource.
          I must be missing the plot totally somewhere.

          1 Reply Last reply
          0
          • W Offline
            W Offline
            waslap
            wrote on last edited by
            #5

            I have had the above error using emrun. When i go the
            python3 -m http.server
            route i am back at the original error
            Application exit (TypeError: eventHandler.target is null)

            1 Reply Last reply
            0
            • W Offline
              W Offline
              waslap
              wrote on last edited by waslap
              #6

              I have followed the post Build and run simple QML on Webassembly and thereby abandoned my 5.15 effort en tried 5.14.2 and at last, some success. QtWebAssembly is not for the impatient.

              mrjjM 1 Reply Last reply
              0
              • W waslap

                I have followed the post Build and run simple QML on Webassembly and thereby abandoned my 5.15 effort en tried 5.14.2 and at last, some success. QtWebAssembly is not for the impatient.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @waslap said in Application exit (TypeError: eventHandler.target is null):

                QtWebAssembly is not for the impatient.

                You mean the build times or the fact its kinda new still and has many issues ?

                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  waslap
                  wrote on last edited by
                  #8

                  Both I'd say but more the fact that its new as once you have the build out of the way then that part falls away. Just starting out with it though so maybe the second one is not that big an issue.

                  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