Qt Forum

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

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Solved Build Qt 5.15 (32-bit) from sources

    General and Desktop
    4
    8
    483
    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
      aleksandr_kv last edited by

      Hello, everyone.

      The page with Qt Online Installer (32-bit) throws an error 404 :(
      I tried to build it from sources, but faced with problem of multiple undefined reference, although I did everything according to the instructions.
      Has anyone built it from source? What algorithm did you use?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        That guide is from 3 years ago. There have been changes in between to what dependencies shall be provided by your OS.

        So what exact error are you getting ?
        Are you building from git or from a source tar ball.

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

        V 1 Reply Last reply Reply Quote 0
        • V
          Vsevolod Fedorov @SGaist last edited by

          @SGaist Hello, I'm a colleague of Aleksandr. So, the first issue is about an invalid link to the 32-bit Installer. If a proper copy of this software is currently exist, it would be great if we can get a valid link, and this may solve all of our questions. Otherwise:
          OS: Mint 19.3 32 bit (VM)
          Options to ./configure:

          /opt/qt5_configure/configure -nomake examples -nomake tests -opensource --confirm-license -skip qtwayland -skip qtlocation -skip qtscript -xcb -xcb-xlib -skip qtdoc -prefix /opt/Qt5 
          

          The library seems to successfully built. but efforts to run a Qt app with QML and GUI ends with error of not found xcb qt plugin. By installing dependencies as shown in this manual , current problem has been solved.
          Unfortunately, the second try of running Qt GUI application end with this message:

          Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
          

          I looked up and found the only reason - there is a problem with running a 32 bit virtual machine on a 64 bit host.
          So could it be the reason of an app crash, or are we missing something?

          Thanks!

          1 Reply Last reply Reply Quote 0
          • B
            Bonnie last edited by Bonnie

            Here is the download page of online installer:
            http://download.qt.io/official_releases/online_installers/
            You can also choose a mirror by clicking the "Details" on the right.

            V 1 Reply Last reply Reply Quote 0
            • V
              Vsevolod Fedorov @Bonnie last edited by

              @Bonnie Thank you for providing a link but there is not 32 bit version for Linux.

              B 1 Reply Last reply Reply Quote 0
              • B
                Bonnie @Vsevolod Fedorov last edited by Bonnie

                @Vsevolod-Fedorov
                Ah, right, they've already stopped providing precompiled 32bit binaries for Linux since 5.6...
                Even if there is a 32bit installer, I think there won't be 32bit 5.15 in it...

                SGaist 1 Reply Last reply Reply Quote 1
                • SGaist
                  SGaist Lifetime Qt Champion @Bonnie last edited by

                  @Bonnie said in Build Qt 5.15 (32-bit) from sources:

                  @Vsevolod-Fedorov
                  Ah, right, they've already stopped providing precompiled 32bit binaries for Linux since 5.6...
                  Even if there is a 32bit installer, I think there won't be 32bit 5.15 in it...

                  Indeed, the 32 bit prebuilt binaries have been stopped a long time ago because of the low number of downloads.

                  As for the 32bit build, do you need Qt 5.15.0 ?
                  If not, why not use the version provided by your distribution ?

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

                  V 1 Reply Last reply Reply Quote 1
                  • V
                    Vsevolod Fedorov @SGaist last edited by

                    @SGaist Yes, I do. Newly introduced features (especially, in Qt QML) are very useful for my educational project connected with front-end development . Nevertheless, I guess the topic can be closed because the main issue was about a valid online 32-bit installer, which is not persist for 32-bit anymore.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post