PDA

View Full Version : WindowsXP : menu items activated() doesn't work



Valheru
10th October 2006, 05:43
I've just compiled my program under WindowsXP, and any menu items that have their activated() signals connected to slots in the main window don't work :confused:
I have compiled Qt 4.2 statically under Windows, changing the mkspecs as per the wiki here (thanks jpn ). Why would this be happening?

Valheru
10th October 2006, 05:48
Hmm, changed it to triggered() and now it works. Why the difference between operating systems? Under Linux it works.

Valheru
10th October 2006, 13:21
Stupid, I meant QAction(), not QMenuItem().

/edit : And the reason it wasn't working is because I'd compiled Qt on Windows without Qt3 support :p Feel like a right tit now.