-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.8.0, 5.9.1
-
None
-
macOS
On macOS (I did not tested other platforms) a QtWidgets window would not have any window icon if the application window icon is set before the window creation.
This is working fine for QQuickWindow.
If i set the application window icon after windows creations - the icon show up correctly as far as you have a window title (See QTBUG-63338).
It seems to be many implementations details which differ between QWidgetWindow and QQuickWindow.
QQuickWindow would get the app window icon correctly, but not the QWidgetWindow.
In contrary on a later change to the app window icon, if no icons were set explicitly on windows then the QWidgetWindow will reflect correctly the new icon, but not the QQuickWindow.