Results 1 to 3 of 3

Thread: WindowsXP : menu items activated() doesn't work

  1. #1
    Join Date
    Aug 2006
    Posts
    163
    Thanks
    12
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default WindowsXP : menu items activated() doesn't work

    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
    I have compiled Qt 4.2 statically under Windows, changing the mkspecs as per the wiki here (thanks jpn ). Why would this be happening?

  2. #2
    Join Date
    Aug 2006
    Posts
    163
    Thanks
    12
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: WindowsXP : menu items activated() doesn't work

    Hmm, changed it to triggered() and now it works. Why the difference between operating systems? Under Linux it works.

  3. #3
    Join Date
    Aug 2006
    Posts
    163
    Thanks
    12
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: WindowsXP : menu items activated() doesn't work

    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 Feel like a right tit now.
    Last edited by Valheru; 10th October 2006 at 16:05.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.