[Qt] Problem with linking on Mac

Den Jean Den.Jean at telenet.be
Thu Dec 3 19:40:19 CET 2009


On Thursday 3 December  2009 08:08:18 zeljko wrote:
> > /usr/local/bin/fpc -dLCL -dLCLqt -WG -Sd -gl -O1 -Cirot -k'-framework
> > qtcore' -k'-framework qtgui' -k'-framework qtnetwork' -k'-framework
> > qtwebkit' -k'-framework phonon' -k'-framework qtdbus' -k'-framework qtxml'
> > -k'-framework qt4intf' -Fu$lclunits -Fu$lclunits/qt -Fu../units/$platform
> > ../tests/TestFlexEdit/project1.dpr
> >
> > I can't recall why I'm not using lazbuild like I do with other widgetsets,
> > but maybe this has something to do with it.
> 
> hmmm... Den ? Do you have any idea what's up with linker ?
> If we need to add each lib then wiki must be changed ...

When changed what ? When I created V1.72 in September,
I could compile apps on OsX with the provide compile script 
in the demos package (compile_exe_fr_mac.sh). 

I did not change anything since September.

Also lazarus should compile with: 
make clean all LCL_PLATFORM=qt OPT="-k'-framework' -k'Qt4Intf' -k'-lobjc' -k'-framework' -k'Foundation'"

Both compilation methods only use framework.

regards,

Den Jean

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/qt/attachments/20091203/3e757e9a/attachment-0002.html>


More information about the Qt mailing list