[Interest] building QtWebEngine on 32bit OS X or with -spec macx-clang-32, possible?
René J.V. Bertin
rjvbertin at gmail.com
Fri Mar 13 17:40:10 CET 2015
On Friday March 13 2015 09:14:32 Thiago Macieira wrote:
Hi,
> > The isPlatformSupported test for QtWebEngine has the following line
> >
> > linux-g++*|win32-msvc2013|macx-clang: return(true)
> >
> > which means that the test fails for the mkspec macx-clang-32 . Does that
> > mean the component cannot be built on 32bit OS X, and if so, how come the
> > test appears like it will succeed on a 32bit OS X system?
>
> Try adding a * after that and see if it builds. It might just work.
I tried a more explicit aproach, addition |macx-clang-32 though evidently your suggestion should have the same effect.
But that just exposes another issue. The gyp generator insists on adding a -Dtarget_arch=x64 option, but in the end the ninja.build file is the only one that is configured correctly for building 32bit on a 64bit platform. Apparently I keep running into an issue where qmake ignores the mkspec file for everything inside the Qt 5.4 source tree. Unless it is called through (or as a direct consequence) of invoking `configure -platform i386`.
In other words, it seems I cannot do a "cross-bit-length" build of individual Qt components using an already configured and installed QtBase, not even in a fresh working copy of the source tree.
R.
More information about the Interest
mailing list