Details
-
User Story
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.0.0
-
None
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?