Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Is there an alternative to QWinTaskbarButton in Qt 6?
Forum Updated to NodeBB v4.3 + New Features

Is there an alternative to QWinTaskbarButton in Qt 6?

Scheduled Pinned Locked Moved Unsolved Qt 6
3 Posts 3 Posters 1.8k 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.
  • M Offline
    M Offline
    marco.beninca71
    wrote on last edited by
    #1

    Hello everybody
    in Qt 5 there is the class QWinTaskbarButton which virtualizes the button on the application in the taskbar for Windows OS. One feature of QWinTaskbarButton was to show a progress in the taskbar application button. In Qt 6 this class was removed, but is there an alternative in Qt to do the same without using directly the OS APIs?
    Marco

    jsulmJ 1 Reply Last reply
    0
    • M marco.beninca71

      Hello everybody
      in Qt 5 there is the class QWinTaskbarButton which virtualizes the button on the application in the taskbar for Windows OS. One feature of QWinTaskbarButton was to show a progress in the taskbar application button. In Qt 6 this class was removed, but is there an alternative in Qt to do the same without using directly the OS APIs?
      Marco

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @marco-beninca71 Looks like there is currently no solution in Qt6.
      See https://bugreports.qt.io/browse/QTBUG-94009
      https://www.qt.io/blog/qt-extras-modules-in-qt-6

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • oblivioncthO Offline
        oblivioncthO Offline
        oblivioncth
        wrote on last edited by oblivioncth
        #3

        Bit of a grave dig and shameless plug, but in case anyone else stumbles upon this, while we wait for Qt6 to add the planned cross platform version of the old QWinTaskbarButton, I have effectively re-implemented the class in a small library:

        https://github.com/oblivioncth/Qx

        The API is mostly the same as the original, though with minor differences. Primarily, the interface for manipulating the progress indicator was moved into the main button class instead of being a separate one.

        See specifically: https://oblivioncth.github.io/Qx/class_qx_1_1_taskbar_button.html

        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