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

Image cannot load network source

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 6.2.3
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      I followed the tutorial https://www.qt.io/product/qt6/qml-book/ch12-networking-http-requests. but the Image gives the below error when loading the resources. The URL can be accessed and shown in the browser, and the error gives randomly a set of images load by Repeater, and only a few of them success load. Please see the attached demo for detail.

      QNetworkReply::NoError "Unknown error"
      QNetworkReply::ContentAccessDenied "Error transferring https://live.staticflickr.com/65535/51947944887_69de399710_m.jpg - server replied: "
      qrc:/main.qml:16:23: QML Image: Error transferring https://live.staticflickr.com/65535/51947944887_69de399710_m.jpg - server replied: 
      QNetworkReply::ContentAccessDenied "Error transferring https://live.staticflickr.com/65535/51949237339_0db9bc4969_m.jpg - server replied: "
      qrc:/main.qml:16:23: QML Image: Error transferring https://live.staticflickr.com/65535/51949237339_0db9bc4969_m.jpg - server replied: 
      

        Attachments

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

          Activity

            People

            Assignee:
            manordheim MÃ¥rten Nordheim
            Reporter:
            jiu shanheng jiu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes