Question

I want to build 32 bits applications on my Debian 64 bits environment.

So, I'm trying to compile the Qt sources in order to get the 32 bits libraries.

I am trying to use the following configure command:

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

Unfortunately, I get an error as below:

Basic XLib functionality test failed!
 You might need to modify the include and library search paths by editing

But when I do the following:

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

It's working fine.

Any guesses?

Was it helpful?

Solution

Based on the the official documentation and dependencies mentioned in there, try this:

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top