Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Configuration of emscripten compiler on Windows
Forum Updated to NodeBB v4.3 + New Features

Configuration of emscripten compiler on Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 653 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.
  • M Offline
    M Offline
    Montjet
    wrote on 6 Sept 2019, 20:18 last edited by Montjet 9 Jun 2019, 20:20
    #1

    Hi,
    I just downloaded Qt 5.13.1 with QtCreator 4.10 and I want to compile example solution to web using emscripten on Windows OS.
    It looks that emscripten works perfectly (console detects em++) but I don't know how to configure QtCreator.

    My configuration of C++ compiler:
    alt text

    Kits:
    alt text

    Issues:

    :-1: warning: "D:\IT\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin\gcc.exe" is used by qmake, but "D:\IT\emsdk\emscripten\1.38.30\emcc.bat" is configured in the kit.
    Please update your kit (Qt 5.13.1 WebAssembly) or choose a mkspec for qmake that matches your target environment better.
    :-1: warning: "D:\IT\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin\g++.exe" is used by qmake, but "D:\IT\emsdk\emscripten\1.38.30\em++.bat" is configured in the kit.
    Please update your kit (Qt 5.13.1 WebAssembly) or choose a mkspec for qmake that matches your target environment better.
    

    Emscripten v1.38.30x64
    Qt v5.13.1
    QtCreator v4.10

    How should I configure this compiler?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lorn.potter
      wrote on 8 Sept 2019, 22:05 last edited by
      #2

      I tried this on windows and it seems QtCreator will not accept wasm-emscripten mkspec at the kit level. But the QtCreator preview does.

      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
      1

      1/2

      6 Sept 2019, 20:18

      • Login

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