I want to have my application to be maximized while being shown at the systray in Windows. I tried this (following the QT Demos):
Qt Code:
  1. private:
  2. QSystemTrayIcon *trayIcon;
  3. ..............{}.................
  4. trayIcon->setVisible(true);
  5. trayIcon->show();
To copy to clipboard, switch view to plain text mode 
But that only crashes the application. And I'm clueless. I also needed to have the app's taskbar button to hide itself. I did some searching but didnt find anything up-to-date. Any help is welcome and thanked.