Qt 6.11 is out! See what's new in the release
blog
How to make FileDialog(Qt Quick) can be dropped and dragged on MacOS
-
My code below
import QtQuick import QtQuick.Dialogs Window { width: 640 height: 480 visible: true title: qsTr("Hello World") MouseArea { anchors.fill: parent onClicked: { fileDialog.open() } } FileDialog { id : fileDialog modality: Qt.ApplicationModal } }On MacOS (M1) the FileDialog can't be dropped and dragged(On windows is OK). Is there a way to fix it? Thanks.
-
Hi and welcome to devnet,
If memory serves well, you should have a file dialog that is shown as a drawer which is an integral part of the application window. That's usual on macOS for modal dialogs.