Results 1 to 3 of 3

Thread: Loading files using Qt

  1. #1
    Join Date
    Jun 2009
    Posts
    29
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Loading files using Qt

    For my project, I want to load files using Qt.

    The User will select a folder and the program will load all the image(.png,.jpg) files from the folder, manipulate them and give some output based on this.

    Please anyone help how this can be done?

    Thanks in advance.
    Mahfuz

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Loading files using Qt

    Have a look at QFileDialog::getExistingDirectoryYou can get the directory from it and then through QDir::entryInfoList get the file names...
    Rest I guess you know

  3. #3
    Join Date
    Jun 2009
    Posts
    29
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Loading files using Qt

    Thank you very much. It works.

Similar Threads

  1. Access violation when reading big text files
    By robertson1 in forum General Programming
    Replies: 0
    Last Post: 18th September 2008, 07:59
  2. How to display hidden files ?
    By merry in forum Qt Programming
    Replies: 1
    Last Post: 16th September 2008, 13:27
  3. visual studio project files - adding extra files
    By luf in forum Qt Programming
    Replies: 3
    Last Post: 13th June 2008, 22:05
  4. Replies: 5
    Last Post: 22nd September 2006, 09:04
  5. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 11:28

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.