Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-3671

QDesktopServices.findFiles in large directories causing hang

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.1.1
    • General
    • None
    • Sonoma 14.4
    • macOS

    Description

      In my installer I have the line `QDesktopServices.findFiles(path, "*.license");` and my path can be the user's downloads directory.
      However; as the Downloads directory can be large, and this method will recurse into any directories, it's causing a large hang making it seem like the installer has crashed.

      Is there a way to not recurse?
      Is there a way to just query for a file in the directory such as *.license?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            installerteam Installer Team
            jryan Joey Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes