You need to write an application using the Qt framework on the x64 operating system under the x32 system.

Installed OS: Arch Linux x86_64.

The gcc / g ++ compiler supports multilib.

Qt set through a package manager (qt5-base, qtcreator). Qt5.7 version. I collect through qmake.

  • CFLAGS=-m32 LDFLAGS=-melf_i386 for short. If at all you want to be cool, use CROSS_COMPILE= and the corresponding prefix for all commands in the Makefile . - 0andriy
  • @Oandriy writes: /usr/lib/libQt5Widgets.so.5.7.0: error adding symbols: File in the wrong format It seems that my only for x64 are sharpened ... Although the 'file' utility produces the following: / usr / lib /libQt5Widgets.so.5.7.0: ELF 64-bit LSB shared object, x86-64 - AccumPlus

0