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

There is no format in the FTP path that cannot be parsed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.0.0
    • Image formats
    • None
    • Linux/X11

    Description

       

      I have a picture in tiff format, muju.tiff, located in ftp. The path on Linux is /run/user/1000/gvfs/ftp:host=10.8.0.116/temp/muji.tiff. When I use this path to load pictures, the pictures cannot be displayed normally.

      Unsupported format:tif、tiff、pcx、mrw、j2k、ico、pnm、psd、cr2、raf、dng、nef、pef、mef、raw、orf、pic、wbmp

       

        // QString path = "/home/thx/Pictures/muji.tiff";
          QString path = "/run/user/1000/gvfs/ftp:host=10.8.0.116/temp/muji.tiff";
          QImage img(path);
          label->setPixmap(QPixmap::fromImage(img));
      

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            tanghaixiang haixiang tang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes