How to use FolderDialog in Qt 6.2
-
Hi !
I need to use a QML
FileDialogtype that can open folders.
In Qt5 I have used theFileDialogand I can set theselectFolderproperty to true to allow selecting folders, but in Qt6 this property is no longer implemented.
I've seen thatFolderDialogtype exists , but it's in the qt labs.There's a better way to open folders in Qt6 ?
Thanks for your help.
Andrey Bastien
-
Hi !
I need to use a QML
FileDialogtype that can open folders.
In Qt5 I have used theFileDialogand I can set theselectFolderproperty to true to allow selecting folders, but in Qt6 this property is no longer implemented.
I've seen thatFolderDialogtype exists , but it's in the qt labs.There's a better way to open folders in Qt6 ?
Thanks for your help.
Andrey Bastien
@AndreyBastien I believe new dialogs have just been introduced in 6.2 if you are able to use that version.