[Lazarus] ***SPAM*** Re: Install of Qt5 widgetset fails on Mac Ventura

zeljko zeljko at holobit.hr
Sat Nov 26 09:20:12 CET 2022



On 25. 11. 2022. 23:01, Giuliano Colla wrote:
> 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?

https://download.qt.io/official_releases/online_installers/qt-unified-mac-x64-online.dmg

> 
> 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?

You have to read qmake manual:
https://doc.qt.io/qt-6/qmake-manual.html

zeljko


More information about the lazarus mailing list