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

toWinHICON and fromWinHICON were removed but are stated in QPixmap documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.7.0
    • Documentation
    • None
    • 65bad0d0f4e2ac14e7f439659c500c1d2c6817bc

    Description

      QPixmap documentation stil references QPixmap::toWinHICON() and QPixMap::fromWinHICON():

      The QPixmap class also supports conversion to and from HICON: the toWinHICON() function creates a HICON equivalent to the QPixmap, and returns the HICON handle. The fromWinHICON() function returns a QPixmap that is equivalent to the given icon.

      However, these functions were removed in Qt 5 and replaced in Qt 5.2.0 by QtWin::fromHICON() and QtWin::toHICON() (QTBUG-27103).

      Attachments

        Issue Links

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

          Activity

            People

              docteam Qt Documentation Team
              bterrier Benjamin Terrier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes