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

[REG 5.12.12 -> 6.x] Linux: QGuiApplication::setWindowIcon has no effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.4.3, 6.8.2
    • GUI: Window management
    • None
    • Ubuntu 22.04
    • Linux/Wayland

      Subj.
      Just build and run the provided sample using Qt 5.12.12 and you'll see the main window using the custom project's icon.
      Build and run it using Qt 6.x - no custom icon appears. Default one is used instead, as if QGuiApplication::setWindowIcon was never called.

        1. icon_test.zip
          131 kB
          Alexander Dyagilev
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vestbo Tor Arne Vestbø
            alervd Alexander Dyagilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes