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. Qt5Concurrent module missing
Qt 6.11 is out! See what's new in the release blog

Qt5Concurrent module missing

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
6 Posts 2 Posters 2.2k 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.
  • N Offline
    N Offline
    NightFury
    wrote on last edited by NightFury
    #1

    I am building an application and I get the below error as "Project ERROR: Unknown module(s) in QT: concurrent". [ have tried adding the QT += concurrent in .pro file and did not change anything]. So I am suspecting if the module is missed during the make module step ??

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Which Qt version are you using? Have you compiled it yourself?

      (Z(:^

      1 Reply Last reply
      0
      • N Offline
        N Offline
        NightFury
        wrote on last edited by NightFury
        #3

        Hi Sierdzio,

        Thanks for the response.
        I am using 5.13 and yes I have compiled it with emscripten. In fact I have built other
        required modules and my application is working fine with them.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Ah, so it's for web assembly, I missed that. I'm not sure if QtConcurrent is supported there, especially with such an old Qt version. Consider upgrading to Qt 5.15 or 6.2.

          Make sure you read these:

          • https://www.qt.io/blog/2019/06/26/qt-webassembly-multithreading
          • https://doc.qt.io/qt-5/wasm.html

          (Z(:^

          1 Reply Last reply
          1
          • N Offline
            N Offline
            NightFury
            wrote on last edited by
            #5

            Thanks for the response.
            Upgrading will be a task! so I am still with 5.13.
            Like other modules built with "make module-qtbase module-qtdeclarative .....etc...." do I need to add some module specific for qt concurrent or that should be built with "make module-qtbase"? or as you suggested this is expected to work with upgrading only ?

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              I don't know, sorry. I only tried WASM a few times, years ago.

              (Z(:^

              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