Results 1 to 2 of 2

Thread: How to register a global hotkey?

  1. #1
    Join Date
    Jul 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to register a global hotkey?

    I want to register a global hotkey, so that when I press a key (i.e. PrintScreen), the system will launch my application. I want it to work on any system. How can I achieve this?

    Is it safe to use this http://docs.libqxt.org/0.4.0/classQx...lShortcut.html?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How to register a global hotkey?

    Why don't you give it a try?
    J-P Nurmi

Similar Threads

  1. How to realize the hotKey function?
    By cspp in forum Qt Programming
    Replies: 1
    Last Post: 1st July 2009, 11:12
  2. Qt and global variables
    By Morea in forum Qt Programming
    Replies: 11
    Last Post: 1st February 2007, 23:42

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.