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

Installing qt-everywhere-opensource-src-4.8.4 in Debian 6 (Squeeze) 64bit



  • Hello,

    I am trying to Install Qt 4.8.4 on my Debian6 64bit build machine where it will be used to build 32bit application.
    Here are the exact steps that i am executing.

    @sudo apt-get install libfontconfig1-dev libfreetype6-dev libx11-dev libxcursor-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxrandr-dev libxrender-dev

    I get a Basic XLib functionality test failed!
    You might need to modify the include and library search paths by editing QMAKE_INCIDR_X11 and QMAKE_LIBDIR_X11 in /path/mkspecs/linux-g++-32@

    So after looking for a solution, i suspect that it needs 32bit libraries for qt4.8.4. So i go ahead and tried building them from source.

    @
    libxext_1.1.2.orig.tar.gz from http://packages.debian.org/squeeze/libxext-dev.
    After unzipping and untarring, configure and install libxext as follows:
    ./configure CPPFLAGS=-m32 LDFLAGS=-m32
    make
    make install

    libx11_1.3.3.orig.tar.gz from http://packages.debian.org/squeeze/libx11-6.
    After unzipping and untarring, configure and install libx11 as follows:
    ./configure CPPFLAGS=-m32 LDFLAGS=-m32
    make
    make install

    libxcb_1.6.orig.tar.gz from http://packages.debian.org/squeeze/libxcb1
    After unzipping and untarring, configure and install libxcb as follows:
    ./configure CPPFLAGS=-m32 LDFLAGS=-m32
    make
    make install
    @

    I get a problem stating that libxcb1 is looking for python-xcbgen package. And when i installed python-xcbgen in my debian squeeze 64bit server, it destroyed my GUI which is unwanted.

    Can someone point out to me the correct way of downloading 32bit libraries for QT4.8.4?

    Thanks


Log in to reply