Results 1 to 3 of 3

Thread: Very interesting Error QFile and QDir

  1. #1
    Join Date
    Oct 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Very interesting Error QFile and QDir

    Hi every body!

    I develop a application, and now that is running wrongly and I can’t understand what is going on?

    the Problem is i explain step by step below:

    1-> Create new personel Data for database : Created Success
    2-> Save it to “C:/Program Files<x86>/AYT Enerji Beta2/DataBase/Product” : Saving Success ( I checked it )
    3->Load it fom “C:/Program Files<x86>/AYT Enerji Beta2/DataBase/Product” : Loading Success
    4->Delete DataBase Folder.
    5->I checked wether DataBase folder is exist. Deleting Success ( I checked )
    6->Start the application again and when load database, All data is loaded and I can see on my application
    7->on console screen I add a piece of code for watch where the application load data from path.
    8->on console screen i saw the “C:/Program Files<x86>/AYT Enerji Beta2/DataBase/Product” path.
    9-> DataBase Folder should be deleted
    10-> I checked again the Folder in explorer, DataBase Folder doesn’t exist but Application load data from this folder and all data correctly and completely come back.

    how this can be even if i deleted the folder?

    Problem is still going on although i restarted my pc.

    http://s18.postimg.org/4yrlxht7d/Ads_z.png

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Very interesting Error QFile and QDir

    Are you sure it is the same path? The path in explorer looks different than the one in the console log.
    Have you checked on the console or with a different program than explorer?

    Cheers,
    _

  3. #3
    Join Date
    Oct 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Very interesting Error QFile and QDir

    yes i checked it with xplorer2 program. DataBase doesn't exist still in this program.

Similar Threads

  1. Replies: 2
    Last Post: 6th May 2013, 08:06
  2. Binary QFile error
    By Affenbrotbaum in forum Newbie
    Replies: 3
    Last Post: 29th January 2010, 02:13
  3. Replies: 0
    Last Post: 4th November 2009, 10:21
  4. QFile or QDir rename()
    By maxpower in forum Qt Programming
    Replies: 2
    Last Post: 23rd January 2009, 17:50
  5. QDir and QFile
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 27th September 2007, 13:43

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
  •  
Qt is a trademark of The Qt Company.