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

Missing QtQuick Dialogs

    XMLWordPrintable

Details

    • User Story
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.0.0
    • Quick: Dialogs
    • None
    • All

    Description

      Apparently the (legacy) QtQuick.Dialogs module has been removed together with the deprecated QuickControls 1. Unfortunately I cannot find a proper replacement or did I overlook something?

      Specifically I am writing a little QtQuick/PySide6 "script-only" project targetting "classic" desktop. Unfortunately the FileDialog from "QtQuick.Labs.platform" module depends on QWidgets which produces the following runtime error:

      ERROR: No native FileDialog implementation available.
      Qt Labs Platform requires Qt Widgets on this setup.
      Add 'QT += widgets' to .pro and create QApplication in main().
      

      The following Python import does not work:

      # note: QtWidgets is not directly used in Python code
      from PySide6 import QtWidgets
      

      Can I define the module dependency in "pyproject" explicitly as a workaround maybe?

      Attachments

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

        Activity

          People

            hurlevent Oliver Eftevaag
            antis81 Nils Fenner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes