Can you create a minimal example that only creates the tray icon and calls exec() on the application object and see if the problem persists? BTW. Which version of Qt are you using?
Can you create a minimal example that only creates the tray icon and calls exec() on the application object and see if the problem persists? BTW. Which version of Qt are you using?
4.3.1
I will try that and post back.
EDIT: The issue persists on the minimal example.
This might be a bug in Qt. You might check if it was reported in the task-tracker.
Doesn't seem to be. Can anyone corroborate this issue on their system?
Could you post the minimal example? System Tray Icon Example gives me no warnings at all with Qt/Win 4.3.1.
J-P Nurmi
Qt Code:
#include <QApplication> int main(int argc, char *argv[]) { QSystemTrayIcon syst; syst.show(); return app.exec(); }To copy to clipboard, switch view to plain text mode
put the icon of your choice in place of the png
Bookmarks