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. Build Qt 5.15.0 for x86 on x64 machine

Build Qt 5.15.0 for x86 on x64 machine

Scheduled Pinned Locked Moved Solved Installation and Deployment
13 Posts 3 Posters 807 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.
  • C Offline
    C Offline
    continue98
    wrote on last edited by
    #1

    Hi. how can I build Qt on an x64 machine for the x86 architecture? I use OpenSUSE

    Pablo J. RoginaP 1 Reply Last reply
    0
    • C continue98

      Hi. how can I build Qt on an x64 machine for the x86 architecture? I use OpenSUSE

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @continue98 by having a cross compiler?

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      C 1 Reply Last reply
      1
      • Pablo J. RoginaP Pablo J. Rogina

        @continue98 by having a cross compiler?

        C Offline
        C Offline
        continue98
        wrote on last edited by continue98
        #3

        @Pablo-J-Rogina yea. I am install:

        sudo zypper in xorg-x11-libxcb-devel-32bit xcb-util-devel-32bit xcb-util-image-devel-32bit xcb-util-keysyms-devel-32bit xcb-util-renderutil-devel-32bit xcb-util-wm-devel-32bit xorg-x11-devel-32bit libxkbcommon-x11-devel-32bit libxkbcommon-devel-32bit libXi-devel-32bit
        

        And:

        zypper in gcc-32bit 
        zypper in gcc-c++-32bit
        

        Run configure:

        ./configure -debug -static -static-runtime -opensource -confirm-license -platform linux-g++-32 -qt-zlib -qt-libpng -xkbcommon -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -nomake examples -nomake tests
        

        Error during configure:

        ERROR: The OpenGL functionality tests failed!
        You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
        QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
        

        config.log

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

          You need to also install all the dependencies in their 32bit versions.

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

          C 1 Reply Last reply
          0
          • SGaistS SGaist

            You need to also install all the dependencies in their 32bit versions.

            C Offline
            C Offline
            continue98
            wrote on last edited by continue98
            #5

            @SGaist Please give name dependencies.

            I installed everything that was mentioned in the documentation

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

              From the list you gave, you missed the OpenGL library.

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

              C 1 Reply Last reply
              0
              • SGaistS SGaist

                From the list you gave, you missed the OpenGL library.

                C Offline
                C Offline
                continue98
                wrote on last edited by
                #7

                @SGaist OpenGL Is install:

                S  | Name                             | Summary                                                      | Type
                ---+----------------------------------+--------------------------------------------------------------+-----------
                   | Mesa                             | System for rendering 3-D graphics                            | srcpackage
                i  | Mesa                             | System for rendering 3-D graphics                            | package
                i+ | Mesa-32bit                       | System for rendering 3-D graphics                            | package
                i  | Mesa-KHR-devel                   | Mesa Khronos development headers                             | package
                   | Mesa-debugsource                 | Debug sources for package Mesa                               | package
                   | Mesa-demo                        | Mesa demo programs for the OpenGL stack                      | srcpackage
                   | Mesa-demo                        | Mesa demo programs for the OpenGL stack                      | package
                   | Mesa-demo-debuginfo              | Debug information for package Mesa-demo                      | package
                   | Mesa-demo-debugsource            | Debug sources for package Mesa-demo                          | package
                i  | Mesa-demo-x                      | GLX-based demos                                              | package
                   | Mesa-demo-x-debuginfo            | Debug information for package Mesa-demo-x                    | package
                   | Mesa-devel                       | Libraries, includes and more to develop Mesa applications    | package
                i  | Mesa-dri                         | DRI plug-ins for 3D acceleration                             | package
                i  | Mesa-dri-32bit                   | DRI plug-ins for 3D acceleration                             | package
                   | Mesa-dri-32bit-debuginfo         | Debug information for package Mesa-dri                       | package
                   | Mesa-dri-debuginfo               | Debug information for package Mesa-dri                       | package
                   | Mesa-dri-devel                   | Development files for the DRI API                            | package
                   | Mesa-dri-nouveau                 | Mesa DRI plug-in for 3D acceleration via Nouveau             | package
                   | Mesa-dri-nouveau-32bit           | Mesa DRI plug-in for 3D acceleration via Nouveau             | package
                   | Mesa-dri-nouveau-32bit-debuginfo | Debug information for package Mesa-dri-nouveau               | package
                   | Mesa-dri-nouveau-debuginfo       | Debug information for package Mesa-dri-nouveau               | package
                   | Mesa-drivers                     | System for rendering 3-D graphics                            | srcpackage
                   | Mesa-drivers-debugsource         | Debug sources for package Mesa-drivers                       | package
                i  | Mesa-gallium                     | Mesa Gallium GPU drivers                                     | package
                i  | Mesa-gallium-32bit               | Mesa Gallium GPU drivers                                     | package
                   | Mesa-gallium-32bit-debuginfo     | Debug information for package Mesa-gallium                   | package
                   | Mesa-gallium-debuginfo           | Debug information for package Mesa-gallium                   | package
                i  | Mesa-libEGL-devel                | Development files for the EGL API                            | package
                i  | Mesa-libEGL1                     | EGL API implementation                                       | package
                   | Mesa-libEGL1-32bit               | EGL API implementation                                       | package
                   | Mesa-libEGL1-32bit-debuginfo     | Debug information for package Mesa-libEGL1                   | package
                   | Mesa-libEGL1-debuginfo           | Debug information for package Mesa-libEGL1                   | package
                i  | Mesa-libGL-devel                 | GL/GLX development files of the OpenGL API                   | package
                i  | Mesa-libGL1                      | The GL/GLX runtime of the Mesa 3D graphics library           | package
                i+ | Mesa-libGL1-32bit                | The GL/GLX runtime of the Mesa 3D graphics library           | package
                   | Mesa-libGL1-32bit-debuginfo      | Debug information for package Mesa-libGL1                    | package
                   | Mesa-libGL1-debuginfo            | Debug information for package Mesa-libGL1                    | package
                   | Mesa-libGLESv1_CM-devel          | Development files for the OpenGL ES 1.x API                  | package
                   | Mesa-libGLESv1_CM1               | OpenGL|ES 1.x Common Profile API implementation              | package
                i  | Mesa-libGLESv2-2                 | OpenGL|ES 2.x API implementation                             | package
                i+ | Mesa-libGLESv2-devel             | Development files for the OpenGL ES 2.x API                  | package
                   | Mesa-libGLESv3-devel             | Development files for the OpenGL ES 3.x API                  | package
                   | Mesa-libOpenCL                   | Mesa OpenCL implementation                                   | package
                   | Mesa-libOpenCL-debuginfo         | Debug information for package Mesa-libOpenCL                 | package
                   | Mesa-libVulkan-devel             | Mesa's Vulkan development files                              | package
                   | Mesa-libd3d                      | Mesa Direct3D9 state tracker                                 | package
                   | Mesa-libd3d-32bit                | Mesa Direct3D9 state tracker                                 | package
                   | Mesa-libd3d-32bit-debuginfo      | Debug information for package Mesa-libd3d                    | package
                   | Mesa-libd3d-debuginfo            | Debug information for package Mesa-libd3d                    | package
                   | Mesa-libd3d-devel                | Mesa Direct3D9 state tracker development package             | package
                   | Mesa-libd3d-devel-32bit          | Mesa Direct3D9 state tracker development package             | package
                i  | Mesa-libglapi-devel              | Development files for the Mesa GL API implementation         | package
                i+ | Mesa-libglapi-devel-32bit        | Development files for the Mesa GL API implementation         | package
                i  | Mesa-libglapi0                   | Free implementation of the GL API                            | package
                i  | Mesa-libglapi0-32bit             | Free implementation of the GL API                            | package
                   | Mesa-libglapi0-32bit-debuginfo   | Debug information for package Mesa-libglapi0                 | package
                   | Mesa-libglapi0-debuginfo         | Debug information for package Mesa-libglapi0                 | package
                i  | Mesa-libva                       | Mesa VA-API implementation                                   | package
                   | Mesa-libva-debuginfo             | Debug information for package Mesa-libva                     | package
                   | libOSMesa-devel                  | Development files for the Mesa Offscreen Rendering extension | package
                   | libOSMesa-devel-32bit            | Development files for the Mesa Offscreen Rendering extension | package
                   | libOSMesa8                       | Mesa Off-screen rendering extension                          | package
                   | libOSMesa8-32bit                 | Mesa Off-screen rendering extension                          | package
                   | libOSMesa8-32bit-debuginfo       | Debug information for package libOSMesa8                     | package
                   | libOSMesa8-debuginfo             | Debug information for package libOSMesa8                     | package
                
                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  continue98
                  wrote on last edited by
                  #8
                  S  | Name                             | Summary                                                       | Type
                  ---+----------------------------------+---------------------------------------------------------------+-----------
                  i  | Mesa-libGL-devel                 | GL/GLX development files of the OpenGL API                    | package
                  i  | Mesa-libGL1                      | The GL/GLX runtime of the Mesa 3D graphics library            | package
                  i+ | Mesa-libGL1-32bit                | The GL/GLX runtime of the Mesa 3D graphics library            | package
                     | Mesa-libGL1-32bit-debuginfo      | Debug information for package Mesa-libGL1                     | package
                     | Mesa-libGL1-debuginfo            | Debug information for package Mesa-libGL1                     | package
                     | Mesa-libGLESv1_CM-devel          | Development files for the OpenGL ES 1.x API                   | package
                     | Mesa-libGLESv1_CM1               | OpenGL|ES 1.x Common Profile API implementation               | package
                  i  | Mesa-libGLESv2-2                 | OpenGL|ES 2.x API implementation                              | package
                  i+ | Mesa-libGLESv2-devel             | Development files for the OpenGL ES 2.x API                   | package
                     | Mesa-libGLESv3-devel             | Development files for the OpenGL ES 3.x API                   | package
                  i  | Mesa-libglapi-devel              | Development files for the Mesa GL API implementation          | package
                  i+ | Mesa-libglapi-devel-32bit        | Development files for the Mesa GL API implementation          | package
                  i  | Mesa-libglapi0                   | Free implementation of the GL API                             | package
                  i  | Mesa-libglapi0-32bit             | Free implementation of the GL API                             | package
                     | Mesa-libglapi0-32bit-debuginfo   | Debug information for package Mesa-libglapi0                  | package
                     | Mesa-libglapi0-debuginfo         | Debug information for package Mesa-libglapi0                  | package
                     | libGLC                           | Free OpenGL Character Renderer                                | srcpackage
                     | libGLC-debugsource               | Debug sources for package libGLC                              | package
                     | libGLC-devel                     | QuesoGLC Development Files                                    | package
                     | libGLC0                          | Free OpenGL Character Renderer                                | package
                     | libGLC0-debuginfo                | Debug information for package libGLC0                         | package
                     | libGLEW2_2                       | OpenGL Extension Wrangler Library                             | package
                  i+ | libGLEW2_2-32bit                 | OpenGL Extension Wrangler Library                             | package
                     | libGLEW2_2-32bit-debuginfo       | Debug information for package libGLEW2_2                      | package
                     | libGLEW2_2-debuginfo             | Debug information for package libGLEW2_2                      | package
                  i  | libGLU1                          | OpenGL utility library                                        | package
                     | libGLU1-32bit                    | OpenGL utility library                                        | package
                     | libGLU1-32bit-debuginfo          | Debug information for package libGLU1                         | package
                     | libGLU1-debuginfo                | Debug information for package libGLU1                         | package
                     | libGLw                           | Xt/Motif OpenGL drawing area widget library                   | srcpackage
                     | libGLw-debugsource               | Debug sources for package libGLw                              | package
                     | libGLw-devel                     | Includes and more to develop MesaGLw applications             | package
                     | libGLw1                          | Xt OpenGL drawing area widget library                         | package
                     | libGLw1-32bit                    | Xt OpenGL drawing area widget library                         | package
                     | libGLw1-32bit-debuginfo          | Debug information for package libGLw1                         | package
                     | libGLw1-debuginfo                | Debug information for package libGLw1                         | package
                     | libGLwM1                         | Motif OpenGL drawing area widget library                      | package
                     | libGLwM1-32bit                   | Motif OpenGL drawing area widget library                      | package
                     | libGLwM1-32bit-debuginfo         | Debug information for package libGLwM1                        | package
                     | libGLwM1-debuginfo               | Debug information for package libGLwM1                        | package
                     | libgl2ps1                        | OpenGL to PostScript Printing Library                         | package
                     | libgl2ps1-debuginfo              | Debug information for package libgl2ps1                       | package
                     | libglade-2_0-0                   | Glade Library Compatible with the GNOME 2.x Desktop Platform  | package
                     | libglade-2_0-0-32bit             | Glade Library Compatible with the GNOME 2.x Desktop Platform  | package
                     | libglade-2_0-0-32bit-debuginfo   | Debug information for package libglade-2_0-0                  | package
                     | libglade-2_0-0-debuginfo         | Debug information for package libglade-2_0-0                  | package
                     | libglade2                        | Glade Library Compatible with the GNOME 2.x Desktop Platform  | srcpackage
                     | libglade2-debugsource            | Debug sources for package libglade2                           | package
                     | libglade2-devel                  | Include files and libraries mandatory for development         | package
                     | libglade2-doc                    | Documentation for the Glade library                           | package
                     | libgladeui-2-12                  | Core library of the GLADE User Interface Builder              | package
                     | libgladeui-2-12-debuginfo        | Debug information for package libgladeui-2-12                 | package
                     | libgladeui-2-devel               | Development files for libgladeui                              | package
                     | libgle-devel                     | Development files for the GLE tubing and extrusion library    | package
                     | libgle3                          | The GLE Tubing and Extrusion Library                          | package
                     | libgle3-debuginfo                | Debug information for package libgle3                         | package
                     | libglfw-devel                    | Development files for GLFW, an OpenGL application framework   | package
                     | libglfw2                         | Portable framework for OpenGL application development         | package
                     | libglfw2-debuginfo               | Debug information for package libglfw2                        | package
                     | libglfw3                         | Framework for OpenGL application development                  | package
                     | libglfw3-debuginfo               | Debug information for package libglfw3                        | package
                  i  | libglib-2_0-0                    | General-Purpose Utility Library                               | package
                     | libglib-2_0-0-32bit              | General-Purpose Utility Library                               | package
                     | libglib-2_0-0-32bit-debuginfo    | Debug information for package libglib-2_0-0                   | package
                     | libglib-2_0-0-debuginfo          | Debug information for package libglib-2_0-0                   | package
                     | libglibmm-2_4-1                  | C++ Interface for Glib                                        | package
                     | libglibmm-2_4-1-32bit            | C++ Interface for Glib                                        | package
                     | libglibmm-2_4-1-32bit-debuginfo  | Debug information for package libglibmm-2_4-1                 | package
                     | libglibmm-2_4-1-debuginfo        | Debug information for package libglibmm-2_4-1                 | package
                     | libglibmm-2_66-1                 | C++ Interface for Glib                                        | package
                     | libglibmm-2_66-1-32bit           | C++ Interface for Glib                                        | package
                     | libglibmm-2_66-1-32bit-debuginfo | Debug information for package libglibmm-2_66-1                | package
                     | libglibmm-2_66-1-debuginfo       | Debug information for package libglibmm-2_66-1                | package
                     | libglog0                         | Logging library for C++                                       | package
                     | libglog0-debuginfo               | Debug information for package libglog0                        | package
                     | libglom-1_32-0                   | Database designer and user interface - Library                | package
                     | libglom-1_32-0-debuginfo         | Debug information for package libglom-1_32-0                  | package
                     | libglom-devel                    | Database designer and user interface - Development files      | package
                     | libgloox17                       | High-level XMPP Library for C++                               | package
                     | libgloox17-32bit                 | High-level XMPP Library for C++                               | package
                     | libgloox17-32bit-debuginfo       | Debug information for package libgloox17                      | package
                     | libgloox17-debuginfo             | Debug information for package libgloox17                      | package
                     | libglpk40                        | GNU Linear Programming Kit                                    | package
                     | libglpk40-debuginfo              | Debug information for package libglpk40                       | package
                     | libglslang-suse10                | OpenGL and OpenGL ES shader front end implementation          | package
                     | libglslang-suse10-debuginfo      | Debug information for package libglslang-suse10               | package
                     | libgltf                          | C++ Library for rendering OpenGL models stored in glTF format | srcpackage
                     | libgltf-0_1-1                    | C++ Library for rendering OpenGL models stored in glTF format | package
                     | libgltf-0_1-1-debuginfo          | Debug information for package libgltf-0_1-1                   | package
                     | libgltf-debugsource              | Debug sources for package libgltf                             | package
                     | libgltf-devel                    | C++ Library for rendering OpenGL models stored in glTF format | package
                     | libglue-devel                    | Headers and libraries for writing cluster managers            | package
                     | libglue-devel-32bit              | Headers and libraries for writing cluster managers            | package
                     | libglue-devel-32bit-debuginfo    | Debug information for package libglue-devel                   | package
                     | libglue-devel-debuginfo          | Debug information for package libglue-devel                   | package
                     | libglue2                         | Reusable cluster libraries                                    | package
                     | libglue2-32bit                   | Reusable cluster libraries                                    | package
                     | libglue2-32bit-debuginfo         | Debug information for package libglue2                        | package
                     | libglue2-debuginfo               | Debug information for package libglue2                        | package
                     | libglusterfs0                    | GlusterFS's core library                                      | package
                     | libglusterfs0-debuginfo          | Debug information for package libglusterfs0                   | package
                     | libglut3                         | Freely licensed alternative to the GLUT library               | package
                     | libglut3-32bit                   | Freely licensed alternative to the GLUT library               | package
                     | libglut3-32bit-debuginfo         | Debug information for package libglut3                        | package
                     | libglut3-debuginfo               | Debug information for package libglut3                        | package
                     | libglvnd                         | The GL Vendor-Neutral Dispatch library                        | srcpackage
                  i  | libglvnd                         | The GL Vendor-Neutral Dispatch library                        | package
                  i  | libglvnd-32bit                   | The GL Vendor-Neutral Dispatch library                        | package
                     | libglvnd-32bit-debuginfo         | Debug information for package libglvnd                        | package
                     | libglvnd-debuginfo               | Debug information for package libglvnd                        | package
                     | libglvnd-debugsource             | Debug sources for package libglvnd                            | package
                  i  | libglvnd-devel                   | Development files for libglvnd                                | package
                     | libglvnd-devel-32bit             | Development files for libglvnd                                | package
                     | libglyr1                         | Search engine for music related metadata                      | package
                     | libglyr1-32bit                   | Search engine for music related metadata                      | package
                     | libglyr1-32bit-debuginfo         | Debug information for package libglyr1                        | package
                     | libglyr1-debuginfo               | Debug information for package libglyr1                        | package
                  

                  libgl is install. What's the problem then?

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

                    Read the test logs, you'll have more information there about what exactly is failing.

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

                    C 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Read the test logs, you'll have more information there about what exactly is failing.

                      C Offline
                      C Offline
                      continue98
                      wrote on last edited by
                      #10

                      @SGaist test log is it config.log?

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

                        There's a folder which contains all the test results.

                        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
                        • C Offline
                          C Offline
                          continue98
                          wrote on last edited by
                          #12

                          I am solved this problem:

                          sudo ln -s /usr/lib/libGL.so.1 /usr/lib/libGL.so
                          
                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            If you need to add that link manually, it means that you are missing an OpenGL development package.

                            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

                            • Login

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