0
|
1 |
TEMPLATE = app
|
|
2 |
TARGET = macmainwindow
|
|
3 |
|
|
4 |
CONFIG += qt warn_on console
|
|
5 |
|
|
6 |
OBJECTIVE_SOURCES += macmainwindow.mm
|
|
7 |
SOURCES += main.cpp
|
|
8 |
HEADERS += macmainwindow.h
|
|
9 |
|
|
10 |
build_all:!build_pass {
|
|
11 |
CONFIG -= build_all
|
|
12 |
CONFIG += release
|
|
13 |
}
|
|
14 |
|
|
15 |
LIBS += -framework Cocoa -framework Carbon
|
|
16 |
|
|
17 |
# install
|
|
18 |
mac {
|
|
19 |
target.path = $$[QT_INSTALL_DEMOS]/macmainwindow
|
|
20 |
sources.files = $$SOURCES *.pro *.html
|
|
21 |
sources.path = $$[QT_INSTALL_DEMOS]/macmainwindow
|
|
22 |
INSTALLS += target sources
|
|
23 |
}
|