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

QMimeType detect gif file return incorrect suffixes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 5.15
    • Core: Other
    • None
    • Windows

    Description

      Using the QMimeType class to detect gif file and returning incorrect suffixes "ts"

      #include <QtWidgets/QApplication>
      #include <QMimeDatabase>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
      
          QMimeDatabase db;
          auto mime = db.mimeTypeForFile("1.gif", QMimeDatabase::MatchContent);
          auto suffixs = mime.suffixes();
      
          return a.exec();
      }
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            crowww Wang Brazen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes