Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Library for Qt for WebAssembly?
Forum Updated to NodeBB v4.3 + New Features

Library for Qt for WebAssembly?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 3 Posters 547 Views 2 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.
  • J Offline
    J Offline
    Jemshe
    wrote on last edited by
    #1

    What is the library name for Qt for Webassembly?

    Need to install this library in Dockerfile.

    Thanks.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      There's no special library name, it's a specific Qt build.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jemshe
        wrote on last edited by
        #3

        @SGaist thanks. Is there a binary for the Qt build that can be installed in a Dockerfile?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What is exactly your goal with that Docker image ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • J Offline
            J Offline
            Jemshe
            wrote on last edited by Jemshe
            #5

            @SGaist I'm kinda green at all this :)
            Goal: modify existing Dockerfile to bring in Qt for Webassembly.
            So I have an existing Dockerfile that sets up a Qt development environment (licenced).
            I was looking for a Qt for Webassembly lib that could be installed alongside everything else like in:

            RUN zypper --non-interactive install libqt5-qtbase libQt5Core-devel libQt5Sensors5 libQt5Xml-devel libQt5Network-devel libQt5Sql-devel libQt5Test-devel libQt5Concurrent-devel libavahi-devel libqt5-qtscript-devel libqt5-qtserialport-devel libqt5-qttools-devel libqt5-qtdeclarative-devel
            

            But there isn't one, so I guess I need to do the build in the Dockerfile?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Either you build Qt yourself or use the online installer to grab it pre-built.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • J Offline
                J Offline
                Jemshe
                wrote on last edited by Jemshe
                #7

                @SGaist Ok, is it possible to run the installer in Docker?
                I think I found it: https://flames-of-code.netlify.app/blog/qt-on-docker/

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  I think you can indeed but I haven't done it.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                    There are a few docker for qt webassembly already around:

                    https://github.com/Zebreus/qt-webassembly-docker
                    https://github.com/guerinoni/qt-wasm

                    and instructions:
                    https://www.qt.io/blog/2019/03/05/using-docker-test-qt-webassembly

                    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
                    2

                    • Login

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