From 58408ffa1b9c0b42a1719d3c8a4d4c62dec4fce6 Mon Sep 17 00:00:00 2001 From: Andy Nichols Date: Tue, 31 May 2016 14:46:17 +0200 Subject: [PATCH] Add install target to mac widget examples Change-Id: I524ba3fcc82a6ef015241d90f212059ae7772443 Reviewed-by: Jake Petroules Reviewed-by: Timur Pocheptsov Reviewed-by: Oswald Buddenhagen --- .../mac/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro | 3 +++ examples/widgets/mac/qmacnativewidget/qmacnativewidget.pro | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/examples/widgets/mac/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro b/examples/widgets/mac/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro index c8c2195cb8..183e307877 100644 --- a/examples/widgets/mac/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro +++ b/examples/widgets/mac/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro @@ -5,3 +5,6 @@ LIBS += -framework Cocoa QT += widgets +# install +target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mac/qmaccocoaviewcontainer +INSTALLS += target diff --git a/examples/widgets/mac/qmacnativewidget/qmacnativewidget.pro b/examples/widgets/mac/qmacnativewidget/qmacnativewidget.pro index cafff9f035..b39792e6dd 100644 --- a/examples/widgets/mac/qmacnativewidget/qmacnativewidget.pro +++ b/examples/widgets/mac/qmacnativewidget/qmacnativewidget.pro @@ -5,3 +5,7 @@ LIBS += -framework Cocoa QT += widgets #QT += widgets-private gui-private core-private + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mac/qmacnativewidget +INSTALLS += target