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. Cannot run target compiler em++
Forum Updated to NodeBB v4.3 + New Features

Cannot run target compiler em++

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
5 Posts 5 Posters 972 Views 1 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.
  • S Offline
    S Offline
    SimonR
    wrote on last edited by
    #1

    I've installed emscripten using this and this guide. Here is my WASM-Kit:
    a5d1db93-eeba-4c77-ba7b-523907d9e20b-image.png
    I can run both qmake and mingw32-make from the command line, but Qt Creator won't even parse my sample project properly. Instead, it crashes with the following error when I try to build it:
    eadf8ad8-52c2-454a-b22d-c62de73c8886-image.png
    Hope anyone can help me with this

    jsulmJ 1 Reply Last reply
    0
    • M Offline
      M Offline
      mjarvenpaa
      wrote on last edited by mjarvenpaa
      #2

      I recall having faulty .emscripten file with this error, in Linux.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jakobliao
        wrote on last edited by
        #3

        I have too. I dont have idea

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

          If you have QtCreator 4.15.1, it should prompt you to set up the webassembly compiler.

          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
          • S SimonR

            I've installed emscripten using this and this guide. Here is my WASM-Kit:
            a5d1db93-eeba-4c77-ba7b-523907d9e20b-image.png
            I can run both qmake and mingw32-make from the command line, but Qt Creator won't even parse my sample project properly. Instead, it crashes with the following error when I try to build it:
            eadf8ad8-52c2-454a-b22d-c62de73c8886-image.png
            Hope anyone can help me with this

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @SimonR Did you check the Compiler tab to see whether there are any warnings/errors?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            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