react-nodegui
react-nodegui copied to clipboard
`QSystemTrayIcon::setVisible: No Icon set` when using SystemTrayIcon component on Windows
Describe the bug
QSystemTrayIcon::setVisible: No Icon set when trying to use <SystemTrayIcon> on Windows.
To Reproduce Steps to reproduce the behavior:
- Clone this repo: https://github.com/tom-sherman/react-nodegui-systemtray-bug
- Start in development mode
QSystemTrayIcon::setVisible: No Icon setis 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