Results 1 to 7 of 7

Thread: Subscribe to Mac OS keypress event

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2017
    Posts
    4
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default Subscribe to Mac OS keypress event

    Hi,
    I'm trying basically to detect a keypress when my qt applikation is not in focus.
    Is this even possible just using Qt?

    I found this example:
    https://doc.qt.io/qt-5/qabstractnati...r.html#details

    But this doesn't seem to work, getting compile errors.


    I would be very grateful if anyone in here could help me out
    Last edited by felli; 11th April 2021 at 14:58.

Similar Threads

  1. TableView keypress event
    By yur0k in forum Newbie
    Replies: 2
    Last Post: 7th October 2020, 20:54
  2. probelm in keypress event
    By iswaryasenthilkumar in forum Newbie
    Replies: 2
    Last Post: 7th April 2015, 08:51
  3. QDialog keypress event
    By bear35645 in forum Qt Programming
    Replies: 6
    Last Post: 6th February 2015, 07:51
  4. how to combine keypress event and mousebuttonpress event?
    By hildebrand in forum Qt Programming
    Replies: 2
    Last Post: 27th May 2009, 00:08
  5. keypress event
    By vishesh in forum Qt Programming
    Replies: 2
    Last Post: 3rd November 2007, 15:12

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.