Change dock icon on OS X with Qt 5

  • Hi there,

    I'm moving one of my apps from Qt 4.8 to Qt 5.4.
    Using Qt 4.8, I could easily update the dock icon with code like this :

    This line of code has no effect with Qt 5.0 to Qt 5.4.

    It seems I'm not the only one to have this problem :

    However, Qt Creator 3.3 itself updates his dock icon (showing building progress for example), so a workaround exists. Does anyone know it ?

    Thanks for your help,


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.