Changes between Version 7 and Version 8 of BuildingQtOnOSX
- Timestamp:
- Dec 10, 2009, 1:59:02 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingQtOnOSX
v7 v8 4 4 * [BuildingQtOnWindows Building the Qt Port on Windows] 5 5 6 These instructions assume you are building on an OSX system with Mac Ports installed having the qt4-mac (4.5.2) port installed.6 These instructions assume you are building on an OSX system with Mac Ports installed having the qt4-mac-devel (4.6) port installed. 7 7 8 8 == Checkout the Code == … … 21 21 This works around the problem with Qt headers being reference directly from /usr/include regardless of where the QTDIR is (Fixes "''../../../WebKit/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:26:17: error: QChar: No such file or directory''" errors): 22 22 {{{ 23 export QTDIR=/opt/local/libexec/qt4-mac # mac ports Qt23 export QTDIR=/opt/local/libexec/qt4-mac-devel # mac ports Qt 24 24 cd /usr/include 25 25 for q in $QTDIR/include/*; do if [ ! -e "`basename $q`" ]; then sudo ln -s "$q"; fi ; done # create a symlink … … 31 31 export WEBKITSRCDIR=qtwebkit # change this to 'WebKit' to build WebKit SVN Trunk 32 32 export WEBKITOUTPUTDIR=`pwd`/${WEBKITSRCDIR}-build 33 ${WEBKITSRCDIR}/WebKitTools/Scripts/build-webkit --qt --qmake=qmake-4.5 --makeargs="-j2" -spec macx-g++ --no-video --debug 33 ${WEBKITSRCDIR}/WebKitTools/Scripts/build-webkit --qt --qmake=qmake-4.5 --makeargs="-j2" -spec macx-g++ --no-video --debug # change 'qmake-4.5' to '/opt/local/libexec/qt4-mac-devel/bin/qmake' if installed from Mac Ports 34 34 }}} 35 35