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. QtQuickControls2 Examples of Qt WebAssembly won't work well
Forum Updated to NodeBB v4.3 + New Features

QtQuickControls2 Examples of Qt WebAssembly won't work well

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
1 Posts 1 Posters 285 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.
  • L Offline
    L Offline
    LeonZJU
    wrote on last edited by
    #1

    I built both the threaded(configure with -feature-thread) and non-threaded(configure without -feature-thread) versions of Qt Wasm using the following environments:
    Qt: 5.14.2
    emsdk: ./emsdk install sdk-fastcomp-1.38.30-64bit
    OS: CentOS8.1
    GCC: 8.3

    Most of the examples build and run well.
    However, with threaded build, all the QtQuickControls2 examples lead to a massive CPU usage and a continuous huge memory increase while the browser compiling the apps.
    And with the non-threaded build, the "gallery" app works fine but all other apps in the QtQuickControls2 examples just freeze while compiling(keep display "compiling").

    Does anyone know why? Thanks for your help.

    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