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. Qt3.3.8 using 32-bit linux in a 64-bit environment
Forum Updated to NodeBB v4.3 + New Features

Qt3.3.8 using 32-bit linux in a 64-bit environment

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 2.9k Views 1 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.
  • F Offline
    F Offline
    flopez
    wrote on last edited by
    #1

    Hi, I would like to build from source Qtv3.3.8.

    I have a SL Red Hat 64 bit machine, however I want to to install Qt using 32 bit.

    How should I run ./configure considering the architecture that I want?

    How do I call ../mkspecs/linuxg++-32?

    Do I need to edit ../qmake/Makefile.unix (ie do I need to add -m32).

    Thanks in advance.

    fclopez

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vinb
      wrote on last edited by
      #2

      I dont think its possible to only build Qt as a 32 bit, when your whole toolchain is setup for 64 bit.
      So you have to make a 32 bit toolchain next to the 64 to get it working.
      Im not sure though, but i remember reading about it once.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fclopez
        wrote on last edited by
        #3

        hi vinb,

        I tried ./configure --platform=linux-g++-32 -thread -no-xft -qt-gif -no-exceptions and I have this problem with -lGL.

        With --platform=linux-g++-32, it adds the option -m32 at compile time, in principle. However with the problem i cite above it searches for /usr/lib64/libGL.so while I would require that it reads the file in the path /usr/lib/libGL.so.

        What more do i need to tweak?
        fclopez

        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