summaryrefslogtreecommitdiff
path: root/mkspecs/macx-mwerks/qmake.conf
Side-by-side diff
Diffstat (limited to 'mkspecs/macx-mwerks/qmake.conf') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/macx-mwerks/qmake.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/mkspecs/macx-mwerks/qmake.conf b/mkspecs/macx-mwerks/qmake.conf
new file mode 100644
index 0000000..7f2770e
--- a/dev/null
+++ b/mkspecs/macx-mwerks/qmake.conf
@@ -0,0 +1,24 @@
+#
+# $Id$
+#
+# qmake configuration for macx-mwerks (Mac OS X + Metrowerks compiler)
+#
+
+MAKEFILE_GENERATOR = METROWERKS
+TEMPLATE = app
+CONFIG += qt release warn_off separate_volume
+
+DEFINES += QT_NO_STL __MACOSX__ __CF_USE_FRAMEWORK_INCLUDES__
+
+CODEWARRIOR_LINKER = Mach-O PPC Linker
+QMAKE_EXTENSION_SHLIB = dylib
+QMAKE_VOLUMENAME = OS X Volume
+FRAMEWORKPATH = {System}/Library/Frameworks/
+QMAKE_CRT_OBJECTS = crt1.o
+QMAKE_INCDIR_QT = $(QTDIR)/include
+QMAKE_LIBS = -framework System
+QMAKE_LIBS_QT = -L$(QTDIR)/lib/ -lqt
+QMAKE_INCDIR_OPENGL = /System/Library/Frameworks/OpenGL.framework/Headers \
+ /System/Library/Frameworks/AGL.framework/Headers/
+QMAKE_LIBS_OPENGL = -framework OpenGL -framework AGL
+QMAKE_LIBS_OPENGL_QT = $$QMAKE_LIBS_OPENGL