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

URL as source for QML Image

    XMLWordPrintable

Details

    • WebAssembly
    • 2780f80fae58ecd986c0695f9bc61cfb5b099dc0 (qt/qtbase/5.12)

    Description

      QML Image not displayed if using URL source.

      Browser network console does not show file downloading.

      console.log(status) 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) }

      }
      }

      Attachments

        1. imageprovider.cpp
          1.0 kB
        2. imageprovider.h
          0.4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lpotter Lorn Potter
            miketolkachev Mike Tolkachev
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes