[Interest] Qt 5.12.8 32 bit libraries configure options on Ubuntu 16.04
Allan Sandfeld Jensen
kde at carewolf.com
Tue May 5 13:01:39 CEST 2020
Hi Ramakanth
Yes, to build Qt to 32bit you need have the 32bit version of the relevant
system libraries installed as well, though many can just default to internal
copies or disable functionality.
For some libraries in some linux distros the 32bit and 64bit developer
packages are mutually exclusive, and you might need to uninstall the 64bit
version first.
The -m32 is added automatically by the linux-g++-32 spec.
Allan
On Dienstag, 5. Mai 2020 12:57:48 CEST Ramakanth Kesireddy wrote:
> Hi,
>
> While configuring with -platform linux-g++-32, it fails the tests with
> below errors in the configure output:
>
> ERROR: Feature 'ssl' was enabled, but the pre-condition 'config.winrt ||
> features.securetransport || features.openssl' failed.
>
> ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread &&
> features.xkbcommon && libs.xcb' failed.
>
> ERROR: Feature 'system-freetype' was enabled, but the pre-condition
> 'features.freetype && libs.freetype' failed.
>
> ERROR: Feature 'fontconfig' was enabled, but the pre-condition
> '!config.msvc && features.system-freetype && libs.fontconfig' failed.
>
> Since the app is compiled with -m32, the corresponding Qt libs need to be
> compiled with -m32 inorder to generate the appropriate code on Ubuntu 16.04
> VM
> so as to replicate the same tests being performed on 32 bit target.
>
> Please let me know if we need to install the 32 bit library versions to
> resolve the above errors.
>
> Best Regards,
> Ramakanth
>
>
> On Tue, May 5, 2020 at 12:30 AM Allan Sandfeld Jensen <kde at carewolf.com>
>
> wrote:
> > On Montag, 4. Mai 2020 18:31:19 CEST Ramakanth Kesireddy wrote:
> > > Hi,
> > >
> > > Can anyone let me know the configure options to generate 32 bit Qt
> > > 5.12.8
> > > libraries on Ubuntu 16.04 like the below equivalent configure options in
> >
> > Qt?
> >
> > > for ./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
> > >
> > > Do we need to modify the QMAKE_CFLAGS or there are any configure options
> > > while configuring Qt 5.12.8 sources to generate 32 bit Qt libs?
> >
> > Just configure with -platform linux-g++-32
> >
> > Why are you making 32-bit libraries now though?
> >
> > 'Allan
> >
> >
> >
> > _______________________________________________
> > Interest mailing list
> > Interest at qt-project.org
> > https://lists.qt-project.org/listinfo/interest
More information about the Interest
mailing list