Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to use FolderDialog in Qt 6.2
Forum Updated to NodeBB v4.3 + New Features

How to use FolderDialog in Qt 6.2

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 410 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AndreyBastien
    wrote on last edited by AndreyBastien
    #1

    Hi !

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

    B 1 Reply Last reply
    0
    • A AndreyBastien

      Hi !

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

      B Online
      B Online
      Bob64
      wrote on last edited by
      #2

      @AndreyBastien I believe new dialogs have just been introduced in 6.2 if you are able to use that version.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved