Important: Please read the Qt Code of Conduct -

I'm trying to create an system tray application~

  • Em, I'm trying to create a system tray tool, which can allow me to copy & paste math symbols easily...
    But I have problems on hiding the application icon in mac dock.( I mean it should be a simple pop up window when clicking the application icon in the system tray)
    The solution seems simple:
    Just add a key-value in Info.plist under mac... But how to make it available when under development in Qt Designer? ( or, the deployment is another process?)

    QMAKE_INFO_PLIST = Info.plist
    DISTFILES += \ \

    These settings in the project file seem does not work.

  • Lifetime Qt Champion


    Does your Info.plist file contain only what was posted on the stack overflow answer ?

    What version of Qt are you using ?
    What version of macOS are you running ?

  • @SGaist

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
    <plist version="1.0">

    Hi, this is the content of my Info.plist.

    Qt version is: 5.11.2
    And Mac is High Sierra v10.13.6

    Em...Even I manually change the Info.plist in debug version application:

    tail ./build-MathSymbolDict-desktop-Debug/ 
    	<string>This file was generated by Qt/QMake.</string>

    When the application run, I still can see the icon in the dock...

  • Lifetime Qt Champion

    Can you provide a minimal compilable example that shows that behaviour ?

Log in to reply