Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QImageReader: File not found
Forum Updated to NodeBB v4.3 + New Features

QImageReader: File not found

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stefanovinci
    wrote on last edited by
    #1

    Hi,
    I developed an application that show an image foreach item click event using QImageReader to load the images.
    After a few clicks Qimagereader return a "File not found" error even if the image exists (the image is the same).
    Anyone know why it happens?
    Thanks in advice and sorry for my english!
    Stefano

    1 Reply Last reply
    0
    • miclandM Offline
      miclandM Offline
      micland
      wrote on last edited by
      #2

      Some thoughts:

      • Does the file name contain any obscure characters?
      • Does the extension fit to the file format?
      • Is it any "special" format that is not supported?
      • does the problem happen always with the same file or unforseen after processing x files?

      The documentation says "FileNotFoundError: QImageReader was used with a file name, but not file was found with that name. This can also happen if the file name contained no extension, and the file with the correct extension is not supported by Qt."

      S 1 Reply Last reply
      0
      • miclandM micland

        Some thoughts:

        • Does the file name contain any obscure characters?
        • Does the extension fit to the file format?
        • Is it any "special" format that is not supported?
        • does the problem happen always with the same file or unforseen after processing x files?

        The documentation says "FileNotFoundError: QImageReader was used with a file name, but not file was found with that name. This can also happen if the file name contained no extension, and the file with the correct extension is not supported by Qt."

        S Offline
        S Offline
        stefanovinci
        wrote on last edited by
        #3

        @micland Hi, thanks for replay!
        The problem happen unforseen after processing x files.
        It's not a problem with the image or with image's name because at beginning all images is loaded correctly, but after few clicks it doesn't work anymore.

        1 Reply Last reply
        0
        • JonBJ JonB referenced this topic on

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved