Results 1 to 2 of 2

Thread: QFileDialog::getOpenFileNames fail to load thousands of files...

  1. #1
    Join Date
    Sep 2009
    Location
    Surrey, BC, Canada
    Posts
    110
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Unhappy QFileDialog::getOpenFileNames fail to load thousands of files...

    Hi, all:

    I'm trying to load 5,000 files once at a time.

    I succeeded in loading around 1,500 files, but I failed to load 5,000 files once.

    A dialog jumps out to say
    XXXXX
    file not found.

    Please verify the correct file name was given.

    It looks when QT tries to load multiple files within a folder, it uses a buffer, which is not unlimited. It won't let me load (in my case ) over 5,000 file names once.

    Anybody met the same situation?
    Please do give me a hand.

    Best Regards
    JIA
    Welcome to Vision Open
    http://www.visionopen.com

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QFileDialog::getOpenFileNames fail to load thousands of files...

    It's not Qt's fault. It's your system's fault. There is a system limit on the number of files that can be concurrently opened within a process.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QPixmap/QImage fail to load jpg files in vista
    By schan117 in forum Qt Programming
    Replies: 2
    Last Post: 7th September 2009, 15:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.