react-nodegui icon indicating copy to clipboard operation
react-nodegui copied to clipboard

`QSystemTrayIcon::setVisible: No Icon set` when using SystemTrayIcon component on Windows

Open tom-sherman opened this issue 5 years ago • 0 comments

Describe the bug

QSystemTrayIcon::setVisible: No Icon set when trying to use <SystemTrayIcon> on Windows.

To Reproduce Steps to reproduce the behavior:

  1. Clone this repo: https://github.com/tom-sherman/react-nodegui-systemtray-bug
  2. Start in development mode
  3. QSystemTrayIcon::setVisible: No Icon set is logged in the console

Expected behavior

Icon to appear in system tray

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • NodeGUI version: 0.22.0
  • React NodeGUI version: 0.8.0
  • OS Version: Windows 10 Pro Version: 2004 Build: 19041.415

Additional context

I followed the example here: https://github.com/nodegui/examples/blob/master/nodegui/systray/src/index.ts but using the <SystemTrayIcon> component

tom-sherman avatar Aug 28 '20 07:08 tom-sherman