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

QtWebEngine,QObject::connect: Incompatible sender/receiver arguments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.0
    • 5.4.1
    • WebEngine
    • None

    Description

      Hi dear fellows.
      i get below error with this code snippet on update Arch Linux.
      And 'filepicker' doesn't work.

      import QtQuick 2.4
      import QtQuick.Controls 1.3
      import QtWebEngine 1.0
      
      ApplicationWindow {
          width: 720
          height: 720
          visible: true
          WebEngineView {
              id: webview
              url: "test.html"
              anchors.fill: parent
          }
      }
      

      TEST.html ###

      <!DOCTYPE html>
      <html>
      <head>
      <title>fuji</title>
      </head>
      <body>
      <input id="file" type="file" accept="audio/*">
      </body>
      </html>
      

      console LOG:

      [me@localhost ~]$ qmlscene-qt5 test.qml
      QObject::connect: Incompatible sender/receiver arguments
       FilePicker_QMLTYPE_17::filesSelected(QVariant) -->
      FilePickerController::accepted(QJSValue)
      [me@localhost ~]$ 
      

      I tested that Same log above happened both KDE and OPENBOX.
      Also i tested 'filepicker' as standalone as:

      import QtQuick 2.4
      import QtQuick.Dialogs 1.1
      
      FileDialog {
          id: fileDialog
          title: "Please choose a file"
          onAccepted: {
              console.log("You chose: " + fileDialog.fileUrls)
              Qt.quit()
          }
          onRejected: {
              console.log("Canceled")
              Qt.quit()
          }
          Component.onCompleted: visible = true
      }
      

      it is work properly.

      im trying to further investigation.

      regards

      Attachments

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

        Activity

          People

            mibrunin Michael Bruning
            ahmad ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes