Files
qt-creator/tests/manual/debugger/gui/gui.pro
Eike Ziller 3381a6219a Debugger test: Automatically sign on macOS
The "gui" manual test is used for release testing attaching a running
application and a core file to the debugger. For this, the application
must be signed with the right entitlements.

Since ad-hoc signing is sufficient, this doesn't require any setup on the
testers computer. So, make this signing automatic.

Change-Id: I7042a3091848ee1c9f7f3843507f3ca616d36179
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-06-09 11:02:42 +00:00

14 lines
266 B
Prolog

TARGET = gui
CONFIG+=console
QT *= widgets
TEMPLATE = app
SOURCES += \
mainwindow.cpp \
tst_gui.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
macos: QMAKE_POST_LINK = codesign -f -s - --entitlements "$${PWD}/entitlements.plist" "$${OUT_PWD}/gui.app"