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

QtQuickView does not listen to Qt.quit() signal

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.8, 6.9, 6.10
    • QPA: Android
    • Android
    • dfa62fc14 (dev)

    Description

      If the QML loaded by QtQuickView for some reason wants to exit the application, via Qt.quit() as per normal, this does nothing, just the following warning:

       

      Signal QQmlEngine::quit() emitted, but no receivers connected to handle it. 

       

      Steps

      1. Load one of the QtQuickView examples, e.g. qtquickview_java or _kotlin
      2. Modify a QML button to call Qt.quit() on click
      3. Click the button.

       

      Attachments

        Issue Links

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

          Activity

            People

              qtandroidteam Qt Android Team
              pevirkku Petri Virkkunen
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes