Skip to content

Commit

Permalink
Fix Mac references to QtDesigner and QtTest; these are libraries and …
Browse files Browse the repository at this point in the history
…not frameworks. (Note: the line beginning "dependency_libs=" in $QTDIR/lib/libQtTest.la must also be disabled to avoid a Mac glibtool bug.)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5225 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Apr 8, 2006
1 parent ccc1d6f commit 8794211
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions acinclude.m4
Expand Up @@ -191,8 +191,8 @@ case "${QT_VER}" in
QT4_SQLINC=$QTDIR/lib/QtSql.framework/Headers
QT4_XMLINC=$QTDIR/lib/QtXml.framework/Headers
QT4_SVGINC=$QTDIR/lib/QtSvg.framework/Headers
QT4_TESINC=$QTDIR/lib/QtTest.framework/Headers
QT4_DESIGNERINC=$QTDIR/lib/QtDesigner.framework/Headers
QT4_TESTINC=$QTDIR/include/QtTest
QT4_DESIGNERINC=$QTDIR/include/QtDesigner
;;
*)
QT4_3SUPPORTINC=$QTINC/Qt3Support
Expand All @@ -207,7 +207,6 @@ case "${QT_VER}" in
QT4_DESIGNERINC=$QTINC/QtDesigner
;;
esac
QT4_DESIGNERINC=$QTINC/QtDesigner
QT4_DEFAULTINC=$QTDIR/mkspecs/default
;;
*)
Expand Down Expand Up @@ -336,8 +335,8 @@ case "${host}" in
QT_IS_MT="yes"
QT_IS_EMBEDDED="yes"
elif test "x`ls $QTDIR/lib/QtCore.framework/QtCore 2> /dev/null`" != x ; then
QT_LIB="-Xlinker -F$QTDIR/lib -framework QtCore -framework Qt3Support -framework QtGui -framework QtNetwork -framework QtXml -framework QtSvg"
QT_CXXFLAGS="-DQT3_SUPPORT -F$QTDIR/lib -I$QT4_DEFAULTINC -I$QT4_3SUPPORTINC -I$QT4_COREINC -I$QT4_DESIGNERINC -I$QT4_GUIINC -I$QT4_NETWORKINC -I$QT4_OPENGLINC -I$QT4_SQLINC -I$QT4_XMLINC -I$QT4_SVGINC -I$QT4_TESTINC -I$QT4_DESIGNERINC"
QT_LIB="-Xlinker -F$QTDIR/lib -framework Qt3Support -framework QtCore -framework QtGui -framework QtNetwork -framework QtXml -framework QtSvg -L$QTDIR/lib -lQtDesigner -lQtTest"
QT_CXXFLAGS="-DQT3_SUPPORT -I$QT4_DEFAULTINC -I$QT4_3SUPPORTINC -I$QT4_COREINC -I$QT4_GUIINC -I$QT4_NETWORKINC -I$QT4_OPENGLINC -I$QT4_SQLINC -I$QT4_SVGINC -I$QT4_XMLINC -I$QT4_DESIGNERINC -I$QT4_TESTINC -I$QTDIR/include"
QT_IS_MT="yes"
fi
;;
Expand Down

0 comments on commit 8794211

Please sign in to comment.