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

webasm: DropArea does not work

    XMLWordPrintable

Details

    • WebAssembly
    • d490501641b1f3990382d3ad3523233fdbf3da61

    Description

      DropArea does not work with webasm.

      import QtQuick 2.12
      import QtQuick.Controls 2.3
      
      ApplicationWindow {
          id: window
          title: "droparea"
          visible: true
      
          DropArea {
              id: dropArea
              anchors.fill: parent
              keys: ["text/plain"]
              onEntered: print('entered')
              onDropped: {
                  showText = drop.text
              }
          }
      
          Text {
              id: showText
              text: "Drag something here.."
              anchors.left: parent.left
              anchors.bottom: parent.bottom
          }
      }
      

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            patrickelectric Patrick Pereira
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes