[Lazarus] Install of Qt5 widgetset fails on Mac Ventura

Giuliano Colla giuliano.colla at fastwebnet.it
Fri Nov 25 23:01:27 CET 2022


Il 25/11/2022 21:58, zeljko ha scritto:

>
>
> On 25. 11. 2022. 19:29, Giuliano Colla via lazarus wrote:
>> I tried to install QT5 version 5.6.2 on my Mac, following the wiki 
>> instructions but installation fails.
>>
>> qmake executes properly and generates a Makefile, but make fails with 
>> this error message:
>>
>>   ld: symbol(s) not found for architecture arm64
>> clang: error: linker command failed with exit code 1 (use -v to see 
>> invocation)
>> make: *** [Qt5Pas.framework/Qt5Pas] Error 1
>>
>> Actally all the object files generated in the tmp directory are for 
>> arm64 and not x86_64-darwin as expected.
>>
>> Any hint?
>
> Never tried build on arm64 (have intel macbook pro). Can you try with 
> Qt6 ?
>
> z.
I didn't find a place from where download open source Qt6. Do you have a 
reliable link?

In the meantime I'll give a try with 5.6.11.

However all Lazarus is compiled for x86_64 architecture, and runs in 
arm64 architecture via Rosetta. Intel version of Qt would be just fine, 
if qmake didn't decide to make for the arm64 architecture. Any idea of 
how to tell qmake the right architecture?

Thanks,

Giuliano

-- 
Do not do to others as you would have them do to you.They might have different tastes.



More information about the lazarus mailing list