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

URL as source for QML Image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.12.0 RC
    • None
    • WebAssembly

    Description

      Image from URL source not displayed.

      Browser console Network does not show file downloading.

      No errors in browser console

      onStatusChanged return status 2 (loading)

       

      import QtQuick 2.12
      
      import QtQuick.Window 2.12
      
      Window {
       visible: true
       width: 640
       height: 480
       title: qsTr("Hello World")
      
      Image {
       id: liveImageItem
       height: parent.height
       width: parent.width
      
      source: "http://mydomain.com/img.jpg"
      
      onStatusChanged: {
       console.log("Status: " + status)
       }
       }
      }
       

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            miketolkachev Mike Tolkachev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes