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. Qt webassembly and Layouts
Forum Updated to NodeBB v4.3 + New Features

Qt webassembly and Layouts

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
glitchlayoutswebassemblyviewtablec++
5 Posts 2 Posters 1.0k 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.
  • A Offline
    A Offline
    AliGB
    wrote on last edited by
    #1

    Hello,

    My application glitches when I use a layouts. I am using C++ and Webassembly to compile this example: https://riptutorial.com/qt/example/13705/a-simple-read-only-table-to-view-data-from-a-model

    The application works perfect when run on Qt Creator, but glitches (the table shows up unpredictably) when compiled for Webassembly.

    Thanks,
    Ali

    1 Reply Last reply
    0
    • lorn.potterL Offline
      lorn.potterL Offline
      lorn.potter
      wrote on last edited by
      #2

      I am not seeing any glitches using chrome on mac. What browser are you using and which host platform?

      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
      • A Offline
        A Offline
        AliGB
        wrote on last edited by AliGB
        #3

        I am using Brave, and hosting from Ubuntu (python3 -m http.server) on my windows.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AliGB
          wrote on last edited by
          #4

          I tried running the app on chrome (with the same hosting platform), and I still have the same problem

          1 Reply Last reply
          0
          • A Offline
            A Offline
            AliGB
            wrote on last edited by
            #5

            Found the problem: I had installed Qt v 6.0.0 with emscripten 1.39.8. documents say 1.39.8 should work with Qt v5.15.0. Works after installing the correct Qt version.

            1 Reply Last reply
            1

            • Login

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