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. include windows.h
Forum Updated to NodeBB v4.3 + New Features

include windows.h

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
3 Posts 3 Posters 631 Views 2 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.
  • R Offline
    R Offline
    Renio
    wrote on 23 Dec 2021, 16:45 last edited by
    #1

    Hi to all, in my qt WebAssembly project, I need to include windows.h file. But my project won't compile because this file isn't found.
    Is this file included from WebAssembly framework?
    Do I need a particular configuration sets?

    A 1 Reply Last reply 23 Dec 2021, 16:48
    0
    • L Offline
      L Offline
      lorn.potter
      wrote on 27 Dec 2021, 07:57 last edited by
      #3

      windows.h is not part of the emscripten sdk, as it does not have the Javascript port of the windows API. You could port those parts to Qt or SDL.

      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
      2
      • R Renio
        23 Dec 2021, 16:45

        Hi to all, in my qt WebAssembly project, I need to include windows.h file. But my project won't compile because this file isn't found.
        Is this file included from WebAssembly framework?
        Do I need a particular configuration sets?

        A Offline
        A Offline
        artwaw
        wrote on 23 Dec 2021, 16:48 last edited by
        #2

        @Renio you need Windows SDK for that to go with your compiler.

        For more information please re-read.

        Kind Regards,
        Artur

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lorn.potter
          wrote on 27 Dec 2021, 07:57 last edited by
          #3

          windows.h is not part of the emscripten sdk, as it does not have the Javascript port of the windows API. You could port those parts to Qt or SDL.

          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
          2

          1/3

          23 Dec 2021, 16:45

          • Login

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