[Interest] Build Qt from source in 32bit (-platform macx-clang-32)
Nuno Santos
nunosantos at imaginando.pt
Thu May 28 00:37:34 CEST 2015
Thanks Thiago
I always delete the source folder and start with a new one when configuration changes drastically. I have built Qt from a clean source dir.
Maybe something is missing in the configure line then?
configure -prefix /Users/nsantos/Qt/5.4/clang_32 -platform macx-clang-32 -commercial -release -nomake examples -nomake tools -nomake tests -opengl desktop -skip webkit -skip multimedia
Does anyone has a clue?
Thanks,
Nuno
> On 27 May 2015, at 23:34, Thiago Macieira <thiago.macieira at intel.com> wrote:
>
> The QtCore one is wrong. That's a 64-bit library.
>
> Something went wrong when compiling it.
>
> On Wednesday 27 May 2015 22:36:24 Nuno Santos wrote:
>>> On 27 May 2015, at 22:32, Thiago Macieira <thiago.macieira at intel.com>
>>> wrote:
>>>
>>> That's what I get for suggesting without trying too. It's one of the other
>>> flags, the one that shows whether it's a 32- or a 64-bit library.
>>
>> MACKIE:MacOS nsantos$ otool -hv -arch all audiolab
>> audiolab:
>> Mach header
>> magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
>> MH_MAGIC I386 ALL 0x00 BUNDLE 27 3032 NOUNDEFS
>> DYLDLINK TWOLEVEL WEAK_DEFINES BINDS_TO_WEAK MACKIE:MacOS nsantos$
>>
>>> Also, please find the QtCore file (inside QtCore.framework).
>>
>> MACKIE:QtCore.framework nsantos$ otool -hv -arch all QtCore
>> QtCore:
>> Mach header
>> magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
>> MH_MAGIC_64 X86_64 ALL 0x00 DYLIB 21 3032
>> NOUNDEFS DYLDLINK TWOLEVEL WEAK_DEFINES BINDS_TO_WEAK NO_REEXPORTED_DYLIBS
>>> On Wednesday 27 May 2015 22:31:07 Nuno Santos wrote:
>>>> Sorry, lack of sleep… :V
>>>>
>>>> MACKIE:MacOS nsantos$ otool -h audiolab
>>>> audiolab:
>>>> Mach header
>>>>
>>>> magic cputype cpusubtype caps filetype ncmds sizeofcmds
>>>> flags
>>>>
>>>> 0xfeedface 7 3 0x00 8 27 3032
>>>> 0x00018085
>>>> MACKIE:MacOS nsantos$
>>>>
>>>> Best,
>>>>
>>>> Nuno
>>>>
>>>>> On 27 May 2015, at 21:43, Thiago Macieira <thiago.macieira at intel.com>
>>>>> wrote:>
>>>>>
>>>>> On Wednesday 27 May 2015 21:18:04 you wrote:
>>>>>> and this is what comes out of the otool -L command for the built bundle
>>>>>
>>>>>> executable:
>>>>> otool -h, not -L
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel Open Source Technology Center
>
More information about the Interest
mailing list