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

[PATCH] qicohandler cannot read windows cursor files (*.cur)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 4.7.0
    • Image formats
    • None
    • b5a7d1265d701a604dfdf80ad6e0bd9c668e78b6

    Description

      Qt plugin qico (qicohandler) cannot read windows cursor files (*.cur). CUR and ICO files are similar, changes is only in header ( see http://en.wikipedia.org/wiki/ICO_(file_format) ).
      Problem is that ICOReader::canRead() check only for ICO header and refuse CUR files.
      This simple patch (attached) fix this and after recompile Qt can read cur files.

      Attachments

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

        Activity

          People

            w00t Robin Burchell
            pali.rohar Pali Rohár
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes