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
QtWS25 Last Chance

Qt webassembly and Layouts

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
glitchlayoutswebassemblyviewtablec++
5 Posts 2 Posters 1.0k 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.
  • A Offline
    A Offline
    AliGB
    wrote on 2 Nov 2020, 18:10 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
    • L Offline
      L Offline
      lorn.potter
      wrote on 3 Nov 2020, 21:15 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 3 Nov 2020, 21:40 last edited by AliGB 11 Mar 2020, 21:42
        #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 6 Nov 2020, 02:43 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 7 Nov 2020, 19:51 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

            5/5

            7 Nov 2020, 19:51

            • Login

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