Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

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

    General and Desktop
    1
    1
    736
    Loading More Posts
    • 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
      svalovic last edited by

      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 Reply Quote 0
      • First post
        Last post