[Qt] Problem with linking on Mac

Hess, Philip J pjhess at purdue.edu
Wed Dec 2 20:05:09 CET 2009


Zeljko,

Yes, I think something changed. According to the date-time stamp on my script, it appears that in early Sept. I had to change it so it compiled Orpheus test apps like this:

/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.

Thanks.

-Phil


________________________________________
From: zeljko [zeljko at holobit.net]
Sent: Wednesday, December 02, 2009 1:43 PM
To: Items specific to the Qt widget set
Subject: [Qt] Problem with linking on Mac

Hi all,
I've decided to upgrade Qt & bindings on my mac and now get problems with
linker.
1.Installed Qt-4.5.2 (first qt-4.5.3 and then reverted to 4.5.2 but it doesn't
matter)
2.Installed bin 1.72

Now I must add each Qt lib as framework otherwise symbols wan't resolve.
eg.
make all LCL_PLATFORM=qt OPT="-k'-framework' -k'Qt4Intf' -k'lobjc'
now must be
make all LCL_PLATFORM=qt
OPT="-k'-framework' -k'Qt4Intf' -k'lobjc' -k'-framework' -k'QtCore' -k'-framework' -k'QtGui'
etc etc ..

Any hints ?

_______________________________________________
Qt mailing list
Qt at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/qt




More information about the Qt mailing list