Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QSystemTrayIcon example does not show messages
Qt 6.12 LTS is out! See what's new in the release blog

QSystemTrayIcon example does not show messages

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 833 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    e1985t
    wrote on last edited by e1985t
    #1

    Hi,
    I was trying to show a balloon message using QSystemTrayIcon::showMessage with no luck.
    My environment is Windows 11 and Qt 6.4.(Also tried with 5.15)

    After I couldn't get my code to work I tried Qt systray example The behavior is the same.

    I also tried adding this registry key Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EnableBalloonTips = 1

    QSystemTrayIcon::supportsMessages() returns true regardless of this registry key being set or not

    Qt example won't show me the message. The only thing worth mentioning is that when tray icon is not visible(as a result of default settings under "Taskbar corner overflow" settings) and show message is executed the tray icon is shown for like 100-200ms (still no message visible) and then disappears.

    What should I do to get my message to be shown?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved