[Qgis-developer] Building QGIS in Mac OS X (Mountain Lion i.e. 10.8) with QtSQL support

William Kyngesburye woklist at kyngchaos.com
Thu Aug 2 06:48:39 PDT 2012


It might be a while before I get to Mountain Lion, for various reasons.

For running existing software on Mtn, I expect few problems.  Apple usually does a good job of forward compatibility if the software was built for the previous version or 2.  Also, this time there shouldn't be a Python change - there is no Python 2.8, and 3.x is a big jump (not just for Apple).  Can you verify the default Python version is still 2.7? (it will still be there anyways)  In any case my Python installers should be able to reinstall Python modules removed by the upgrade.

Qt software should run, but there may be small glitches.

Compiling on Mtn for Qt may have problems.  The fix in that link may not be absolutely necessary.  As I remember, Qt just spews out warnings on new OSX versions, the fix just removes those.  Also, you can use an SDK to compile for Lion and you shouldn't get those warnings.

On Aug 2, 2012, at 4:43 AM, Noli Sicad wrote:

> Hi Larry,
> 
> Thanks for these pointers.
> 
>>> What are the changes in this instruction?
>> 
>> Unless you're feeling really adventurous and want use a different
>> route, you'll want to first test whether the Qt and kyngchaos.com
>> frameworks for 10.6/10.7 install and work as is. Not sure how much
>> testing William has done with the new Mac OS. I'll probably be trying
>> to compile QGIS on 10.8 next week.
> 
> I already installed William frameworks before I update to ML (10.8). I
> think the frameworks survive after the ML install (update). Only
> python site packages did not survived after the update to ML (10.8).
> 
> We need to add 10.8 in Qt global (i.e. qglobal.h), as you can see it
> here (below):
> 
> http://stevenyue.com/2011/10/27/install-pyqt4-qt-4-7-on-mac-osx-lion/
> 

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

All generalizations are dangerous, even this one.




More information about the Qgis-developer mailing list