Results 1 to 2 of 2

Thread: moving files in qt to another folder present in the same directory

  1. #1
    Join Date
    May 2012
    Location
    India
    Posts
    51
    Thanks
    4
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default moving files in qt to another folder present in the same directory

    i have one xml file a.xml in my c drive in a folder called "oldfolder" , now i want to move it to a new location "newfolder" which is in the same c drive . how can i move the a.xml from oldfolder to newfolder ..

  2. #2
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: moving files in qt to another folder present in the same directory

    Check out QFile::rename
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

Similar Threads

  1. Files in the project folder won't open...
    By danoc93 in forum Newbie
    Replies: 2
    Last Post: 20th January 2012, 20:46
  2. Replies: 1
    Last Post: 7th June 2011, 17:22
  3. Replies: 0
    Last Post: 13th October 2010, 04:27
  4. Moving File/Folder in Qt
    By arpspatel in forum Qt Programming
    Replies: 4
    Last Post: 17th January 2010, 01:37
  5. Recompilation needed after moving Qt to another directory?
    By bood in forum Installation and Deployment
    Replies: 1
    Last Post: 1st April 2006, 00:32

Tags for this Thread

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.