Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. OSX: app-icon of no-gui-app bounces for a few minutes in the dock

OSX: app-icon of no-gui-app bounces for a few minutes in the dock

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.9k 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.
  • H Offline
    H Offline
    Hedge
    wrote on last edited by
    #1

    I'm about to deploy an application without a GUI or console-output. It works flawless but the application icon bounces all the time in the dock.

    I read "here":http://blog.ivandemarino.me/2011/04/28/Need-to-ship-your-Qt-app-for-Mac-Bundle-it-up that by adding the following two lines to the Info.plist you can prevent the bouncing but it only disables the dock-icon completely which I don't want.

    @<key>LSUIElement</key>
    <string>1</string>@

    Any ideas?

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hardcodes.de
      wrote on last edited by
      #2

      AFAIK the dock icon bounces as long as the start of the application takes to load the NIB(s) and then start the event loop. The latter one should be your problem, you'll never enter any event loop.

      Maybe you could trick the system by starting a Qt application that shows nothing 8)

      while(!sleep){++sheep;}

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hardcodes.de
        wrote on last edited by
        #3

        Any progress here?

        while(!sleep){++sheep;}

        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