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

Missing QtQuick Dialogs

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Open
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0
    • Fix Version/s: None
    • Component/s: Quick: Dialogs
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            antis81 Nils Fenner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes