Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Mac Main Window demo bug - search field doesn't lose focus
Forum Updated to NodeBB v4.3 + New Features

Mac Main Window demo bug - search field doesn't lose focus

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 818 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    svalovic
    wrote on last edited by
    #1

    I am using a native search field in my mac application. It doesn't lose focus after clicking to other widgets that should react to keyboard inputs. My code is based on the code from an official demo:
    http://qt-project.org/doc/qt-4.8/demos-macmainwindow.html

    But it doesn't work in the official demo, too!

    I have tried to set the first responder to other widgets after clicking on them, but that keeps crashing for me.
    Does anybody know how to use the native mac search without these problems?

    Thanks

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved