How to use FolderDialog in Qt 6.2
-
Hi !
I need to use a QML
FileDialog
type that can open folders.
In Qt5 I have used theFileDialog
and I can set theselectFolder
property to true to allow selecting folders, but in Qt6 this property is no longer implemented.
I've seen thatFolderDialog
type 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
FileDialog
type that can open folders.
In Qt5 I have used theFileDialog
and I can set theselectFolder
property to true to allow selecting folders, but in Qt6 this property is no longer implemented.
I've seen thatFolderDialog
type 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.