[Qgis-user] Build problem : Pyqt-4.5 on mac osx Leopard
William Kyngesburye
kyngchaos at kyngchaos.com
Fri Mar 13 09:08:48 PDT 2009
On Mar 13, 2009, at 10:34 AM, massimo di stefano wrote:
> William, Yes it is ....
> infact i done the simlink for both the *Lucene libs :
>
> history | grep ln -s
> 490 sudo ln -s /usr/lib/libQtLucene.dylib /Developer/SDKs/
> MacOSX10.5.sdk/usr/lib/libQtLucene.dylib
> 492 sudo ln -s /usr/lib/libQtCLucene.4.5.0.dylib /Developer/SDKs/
> MacOSX10.4u.sdk/usr/lib/libQtLucene.dylib
>
> 493 sudo ln -s /usr/lib/libQtCLucene.4.5.0.dylib /Developer/SDKs/
> MacOSX10.4u.sdk/usr/lib/libQtCLucene.dylib
> 495 sudo ln -s /usr/lib/libQtCLucene.4.5.0.dylib /Developer/SDKs/
> MacOSX10.5.sdk/usr/lib/libQtCLucene.dylib
>
>
>
> now tring to come back to qt4.4 .. i had the same error about lucene
> missed libs, i'll try again a sm link "only for :"
>
> 493 sudo ln -s /usr/lib/libQtCLucene.4.5.0.dylib /Developer/SDKs/
> MacOSX10.4u.sdk/usr/lib/libQtCLucene.dylib
> 495 sudo ln -s /usr/lib/libQtCLucene.4.5.0.dylib /Developer/SDKs/
> MacOSX10.5.sdk/usr/lib/libQtCLucene.dylib
>
> and see if it solve :-/
When I said that you would only have to do the symlinks once, then
future Qt updates would not need a new symlink, I meant that you
should symlink the unversioned library. If you symlink, the versioned
library, you're back to updating the symlink every time you update Qt,
just like you would have to if you copied the lucene library. Do your
symlinks as:
sudo ln -sf /usr/lib/libQtCLucene.dylib /Developer/SDKs/
MacOSX10.4u.sdk/usr/lib
sudo ln -sf /usr/lib/libQtCLucene.dylib /Developer/SDKs/MacOSX10.5.sdk/
usr/lib
But, this may be a false lead as far as it affects Qgis. CLucene is
only used in QtHelp, as far as I can tell, and this is not used in Qgis.
So, I repeat my earlier suggestion, when you get SIP/PyQt 4.5
compiled: try the Xcode project build for Qgis (trunk only). It isn't
affected by cmake not finding the newer PyQt, if that is still a
problem. But also, there is a problem with Qt plugins and Qgis+python
on OSX, and Qt frameworks *must* be bundled - the Xcode project takes
care of this. Be aware that the Xcode project is manually configured,
for now.
I don't want to mess around with my Qt installation right now, so I
can't test Qt 4.5 with Qgis, but others have tried it.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"We are at war with them. Neither in hatred nor revenge and with no
particular pleasure I shall kill every ___ I can until the war is
over. That is my duty."
"Don't you even hate 'em?"
"What good would it do if I did? If all the many millions of people of
the allied nations devoted an entire year exclusively to hating the
____ it wouldn't kill one ___ nor shorten the war one day."
<Ha, ha> "And it might give 'em all stomach ulcers."
- Tarzan, on war
More information about the Qgis-user
mailing list