314fdbce8c
Conflicts: config.tests/unix/opengldesktop/opengldesktop.cpp examples/itemviews/interview/interview.pro examples/mainwindows/mainwindow/mainwindow.pro examples/openvg/README examples/richtext/textedit/textedit.pro examples/tools/undo/undo.pro src/corelib/global/qglobal.h src/corelib/kernel/qcoreapplication.h src/corelib/kernel/qcoreevent.h src/corelib/kernel/qmetatype.h src/gui/kernel/qevent.cpp src/gui/kernel/qevent.h src/gui/painting/qpaintengine_raster.cpp src/gui/painting/qpaintengine_raster_p.h src/gui/text/qfontdatabase.cpp src/opengl/qgl.h src/openvg/qpaintengine_vg.cpp src/plugins/platforms/wayland/qwaylandwindow.cpp tests/auto/qmainwindow/qmainwindow.pro Change-Id: I6bfb586740a68379bb99f4612ec993393a5f3234
25 lines
548 B
Prolog
25 lines
548 B
Prolog
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_EXAMPLES]/qtbase/mainwindows/macmainwindow
|
|
sources.files = $$SOURCES *.pro *.html
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/macmainwindow
|
|
INSTALLS += target sources
|
|
}
|
|
QT += widgets widgets
|