Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Very interesting Error QFile and QDir
Forum Updated to NodeBB v4.3 + New Features

Very interesting Error QFile and QDir

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CMLDMR
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Hi,
      Did you do a system search to check if NO database exists at all?? Maybe the opening of QFile is at an other location?
      How does your QFile code look like?

      Greetz, Jeroen

      1 Reply Last reply
      0
      • raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        are you sure that your "windows explorer" also "shows hidden dirs":http://windows.microsoft.com/en-us/windows/show-hidden-files#show-hidden-files=windows-7?

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved