Are you using threads in your application?
Are you using threads in your application?
I will be, but not yet. Right now this IngestorGUI object is created in main along with a QApplication. The QApplication is then executed. Here is the main code:Qt Code:
int main(int argc, char *argv[]) { IngestorGUI window; return app.exec(); }To copy to clipboard, switch view to plain text mode
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