qt5base-lts/tests/manual/cocoa/appicon
Andy Shaw 34ec0713bb Add a means to set the application icon where supported
On OS X the application icon can be changed at runtime, so this adds a way
to set this via the QPlatformIntegration.

[ChangeLog][OS X] QApplication::setWindowIcon now changes the icon for the
application in the dock.

Task-number: QTBUG-43999
Change-Id: Ice298c0bd52f10f4866f37c6d3f20cf5419b7a1b
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
2015-04-10 10:10:25 +00:00
..
appicon.pro Add a means to set the application icon where supported 2015-04-10 10:10:25 +00:00
main.cpp Add a means to set the application icon where supported 2015-04-10 10:10:25 +00:00
README Add a means to set the application icon where supported 2015-04-10 10:10:25 +00:00

Test for checking that the dock icon is changed when
QGuiApplication::setWindowIcon() is called. Clicking the
buttong should change the entry in the dock to a red icon.