Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44535

Make WinExtra modul platform-independent

    XMLWordPrintable

Details

    • Task
    • Resolution: Out of scope
    • P2: Important
    • None
    • None
    • Extras: Win
    • None

    Description

      We are currently using WinExtra to show progress in taskbar under Windows. But implementation with WinExtra doesn't look really much better than using WinAPI direct, because we still need a lot of #ifdef windows in our source and in CMake.

      So it would be nice, if this module would platform-independend:

      • WinExtra available under Linux, Mac, ... too, so we don't need if(Win32) in CMake
      • Make QWinTaskbarProgress etc. available on all platforms, so we don't need #ifdef in our source.

      I know QWinTaskbarProgress is platform specific to Windows, but from view of developer it is just a ProgressBar. Why not implement a (invisible) dummy progressbar on all other systems, so the code is compiling under all platforms and running without crashes, even it does nothing?

      Attachments

        Activity

          People

            kleint Friedemann Kleint
            EliteScience Heiko Thiel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: