summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-mwerks/qmake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/macx-mwerks/qmake.conf')
-rw-r--r--mkspecs/macx-mwerks/qmake.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/mkspecs/macx-mwerks/qmake.conf b/mkspecs/macx-mwerks/qmake.conf
new file mode 100644
index 000000000..5001a1e84
--- /dev/null
+++ b/mkspecs/macx-mwerks/qmake.conf
@@ -0,0 +1,23 @@
+#
+#
+# qmake configuration for macx-mwerks (Mac OS X + Metrowerks compiler)
+#
+
+MAKEFILE_GENERATOR = METROWERKS
+TEMPLATE = app
+CONFIG += qt release warn_off separate_volume link_prl
+
+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