summaryrefslogtreecommitdiffstats
path: root/demos/macmainwindow/macmainwindow.pro
diff options
context:
space:
mode:
Diffstat (limited to 'demos/macmainwindow/macmainwindow.pro')
-rw-r--r--demos/macmainwindow/macmainwindow.pro23
1 files changed, 23 insertions, 0 deletions
diff --git a/demos/macmainwindow/macmainwindow.pro b/demos/macmainwindow/macmainwindow.pro
new file mode 100644
index 0000000000..435905612a
--- /dev/null
+++ b/demos/macmainwindow/macmainwindow.pro
@@ -0,0 +1,23 @@
+TEMPLATE = app
+TARGET = macmainwindow
+
+CONFIG += qt warn_on console
+
+OBJECTIVE_SOURCES += macmainwindow.mm
+SOURCES += main.cpp
+HEADERS += macmainwindow.h
+
+build_all:!build_pass {
+ CONFIG -= build_all
+ CONFIG += release
+}
+
+LIBS += -framework Cocoa -framework Carbon
+
+# install
+mac {
+target.path = $$[QT_INSTALL_DEMOS]/qtbase/macmainwindow
+sources.files = $$SOURCES *.pro *.html
+sources.path = $$[QT_INSTALL_DEMOS]/qtbase/macmainwindow
+INSTALLS += target sources
+}