summaryrefslogtreecommitdiffstats
path: root/examples/mainwindows/macmainwindow/macmainwindow.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mainwindows/macmainwindow/macmainwindow.pro')
-rw-r--r--examples/mainwindows/macmainwindow/macmainwindow.pro24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/mainwindows/macmainwindow/macmainwindow.pro b/examples/mainwindows/macmainwindow/macmainwindow.pro
new file mode 100644
index 0000000000..6773a669d0
--- /dev/null
+++ b/examples/mainwindows/macmainwindow/macmainwindow.pro
@@ -0,0 +1,24 @@
+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
+}
+QT += widgets widgets