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. Qt System trayicon deployment issues on Linux Distros - Fedora 25,28,30 & CentOs 8.1.1
QtWS25 Last Chance

Qt System trayicon deployment issues on Linux Distros - Fedora 25,28,30 & CentOs 8.1.1

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qsystemtrayiconlinuxlinux fedora oppluginsdeployment
2 Posts 2 Posters 669 Views
  • 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.
  • R Offline
    R Offline
    rashida
    wrote on last edited by
    #1

    Hi, I am working on developing a qt application which displays a system tray icon on Linux. My target is to deploy the application on various linux distributions: Ubuntu, RHEL, Fedora, CentOS, OpenSuse etc.

    I have created the application in qt4.8.7 on Ubuntu 10 & 12 (For older OS support). The deployment of qt is a difficult task. After solving all dependencies issue, I was able to get trayicon by deploying my qt application compiled on Ubuntu 12 to deploy on Ubuntu 18 with no pre-installed qt. For tray icon, qt4 looks for Plugin "systemtrayicon/libsni-qt.so".

    This did not work on Fedora and other RHEL based linux systems.

    I tried switching to Qt5 and compile it on Ubuntu14 so that I could use an open source deployment tool "linuxdeployqt" , as it would help in resolving dependencies issues.
    There is a bug on Ubuntu 14 which displays tray icon on left.
    After some research I found out fedora does not support tray icon, it needs some extensions like libappindicator and topicons.

    Please help out if there is a list of Linux Os distros which supports QSystemTrayIcon with or without plugins and extension.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      AFAIK, there's no such list. Distributions may provide tray icon through different means and some patches Qt to support their custom system.

      Did you try on these distribution with their own versions of Qt to see how it's working ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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