Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63340

QtWidgets windows do not show the default application window icon on MacOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.8.0, 5.9.1
    • QPA
    • None
    • macOS
    • 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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vestbo Tor Arne Vestbø
            filipe.azevedo Filipe Azevedo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes