Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Build Qt 5.15 (32-bit) from sources



  • 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?


  • Lifetime Qt Champion

    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.



  • @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!



  • 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.



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



  • @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...


  • Lifetime Qt Champion

    @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 ?



  • @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.


Log in to reply