I am trying to make my QSystemTrayIcon class a separate thread class by doing the following
- Derived my TrayIcon class from QThread
- Implemented the run() method in TrayIcon class
- Moved the TrayIcon Initialization code to Run method
call TryIcon.start() from the main.
But my application crashing while executing the "connect" statement in the TrayIcon class. The connect statements are for the trayIcon menu functionality.
I am trying to understand the QThread, connect functionality by reading the QT documentation, examples.