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

QML SystemTrayIcon's icon.source property doesn't consider QQmlFileSelector

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.3, 6.5.0 RC
    • Quick: Other
    • None
    • Android, iOS/tvOS/watchOS, macOS

    Description

      Qt labs's `SystemTrayIcon` QML type doesn't consider `QQmlFileSelector` when setting the system tray icon.

      Please see attached minimal example. Using `SystemTrayIcon`'s C++ API, along with `QFileSelector` obviously works. In `main.qml`, the created  `ToolButton` correctly uses `+macos/logo.png`. However, the system tray icon's logo always use the fallback logo.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            sandroandrade Sandro S. Andrade
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes