Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80233 Qt 6 platform APIs revamp
  3. QTBUG-83251

Clean up Q(Mac/Win/X11/Android)Extras

    XMLWordPrintable

Details

    • Android, Linux/X11, macOS, Windows

    Description

      QFooExtras

      A kitchen sink / dumping ground for any functionality that didn't fit elsewhere in Qt (at that point). Ends up stale over time, and discourages integrating the concepts in Qt in a cross platform way.

      Type conversions

      E.g. https://doc.qt.io/qt-5/qtwinextras-overview.html#type-conversion, QPixmap to HBITMAP and back. Similar functions for macOS. Nowadays lives with QImage, as QImage::toNSImage(), etc.

      Simple (one-line even) wrappers around native APIs

      Should just use native APIs. Don't be afraid to mix and match. Qt can't (and shouldn't) do everything, and using Qt with other platform or 3rd party libraries should be possible and easy.

      Helper functions to maniplulate QWindow and friends

      Similar to QtPlatformHeaders

      QX11Info

      Warning: This class is only available on X11. For querying per-screen information in a portable way, use QDesktopWidget.

      Yepp, time to modernize 

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vestbo Tor Arne Vestbø
              vestbo Tor Arne Vestbø
              Votes:
              2 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: