Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved Qt webassembly and Layouts

    Qt for WebAssembly
    glitch layouts webassembly viewtable c++
    2
    5
    416
    Loading More Posts
    • 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
      AliGB last edited by

      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 Reply Quote 0
      • lorn.potter
        lorn.potter last edited by

        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 Reply Quote 0
        • A
          AliGB last edited by AliGB

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

          1 Reply Last reply Reply Quote 0
          • A
            AliGB last edited by

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

            1 Reply Last reply Reply Quote 0
            • A
              AliGB last edited by

              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 Reply Quote 1
              • First post
                Last post