简体   繁体   中英

Compiling 32bits qt sources on a 64bit Debian environement

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?

根据那里提到的官方文档和依赖项,试试这个:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM