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. Compiling my own 32-bit QT 5.12.4 libraries.

Compiling my own 32-bit QT 5.12.4 libraries.

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 3 Posters 598 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
    csing
    wrote on last edited by
    #1

    Hello, I am currently trying to transition from 5.10.1 32 bit to 5.12.4 on linux machines. However, I see that qt doesn't package a 32 bit libraries anymore and I should compile 5.12.4 source for 32-bit libraries. I am having trouble figuring out what steps I need to take to do this. Any help is much appreciated!

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

      Hi and welcome to devnet,

      You have the information in Qt's documentation.

      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
      2
      • C Offline
        C Offline
        csing
        wrote on last edited by csing
        #3

        Thank you very much for your help! I ran into another problem while configuring the library. So I did

        ./configure -platform linux-g++-32 
        

        and this error came up

        
        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.
        
        Check config.log for details.
        

        I tried to go into /qtbase/mkspecs/linux-g++-32 to see what I can do but I can't figure it out. I also tried

        sudo apt-get build-dep qt5-default
        
        

        and that didn't work. I am not really sure what to do next?

        jsulmJ 1 Reply Last reply
        0
        • C csing

          Thank you very much for your help! I ran into another problem while configuring the library. So I did

          ./configure -platform linux-g++-32 
          

          and this error came up

          
          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.
          
          Check config.log for details.
          

          I tried to go into /qtbase/mkspecs/linux-g++-32 to see what I can do but I can't figure it out. I also tried

          sudo apt-get build-dep qt5-default
          
          

          and that didn't work. I am not really sure what to do next?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by jsulm
          #4

          @csing Did you install the 32bit version of libgl1-mesa-dev package?
          You also can add -v parameter to configure call, then you will get more verbose output which can help to identify the problem.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          5
          • C Offline
            C Offline
            csing
            wrote on last edited by
            #5

            @jsulm thank you very much! I installed the libgl1-mesa-dev but not the libgl1-mesa-dev:i386 previously. It works now :)

            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