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. Empty quick app consumes cpu on doing nothing (multithreaded Qt build)

Empty quick app consumes cpu on doing nothing (multithreaded Qt build)

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
3 Posts 2 Posters 380 Views
  • 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
    MS_36
    wrote on 7 Nov 2019, 10:24 last edited by
    #1

    Hello!

    I have Qt 5.14 Beta 2 built with emscripten 1.39.0 with multithreading support.
    Building and running the "Qt Quick Application - Empty"-template from QtCreator in the browser(FF + chrome) shows that the corresponding process takes continuously more than one thread of my cpu to run it.
    I am not sure if this also would be the case if the app was built with multithreading disabled.

    Is this normal at this stage or should I consider opening a bug?

    Best regards
    Markus

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lorn.potter
      wrote on 8 Nov 2019, 06:31 last edited by
      #2

      It's probably normal, but you could open a bug about it anyway.

      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
      • M Offline
        M Offline
        MS_36
        wrote on 11 Nov 2019, 15:48 last edited by MS_36 11 Dec 2019, 09:17
        #3

        Okay, thanks!
        I would prefer it to use less CPU in that case so I will open a bug after I tried it without multithreading.

        Edit: Single threaded its fine (QTBUG-79953)

        1 Reply Last reply
        0

        1/3

        7 Nov 2019, 10:24

        • 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