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. QDir.entryList() doesn't list all items in firefox profile directory
Forum Updated to NodeBB v4.3 + New Features

QDir.entryList() doesn't list all items in firefox profile directory

Scheduled Pinned Locked Moved Unsolved General and Desktop
qdirentrylist
2 Posts 2 Posters 1.3k Views 2 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.
  • M Offline
    M Offline
    mjzarrin
    wrote on 10 Feb 2016, 14:41 last edited by
    #1

    Hello My Friends
    I have to work with QT in a project. in the first glance, QT is the best but sometime i confront some errors or bugs that i could not find any rationale for that. at first i prefer to change my code on other ways but now i think i love QT, and i need to find out why these problems happens.
    for first question, i'm working on firefox profile directory. my code is like bellow

    QString dataPathRoaming = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
    QDir fdir(dataPathRoaming+ "/Mozilla/Firefox/Profiles/"+ fireid);
    QStringList fireall =  fdir.entryList();
    

    fireid is find and set programmatically and is the directory inside firefox profile directory.
    the problem is fireall not list some files. for example "places.sqlite.FR1" file.
    the file is not in used and could be renamed , removed or restored. these shows the file is like other files but entryList() not shows it in the fireall list. it's not my critical problem but i will happy if i know why.
    i prepare a screenshot bellow.
    screenshot
    thank you all and see you on next problem.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 12 Feb 2016, 21:14 last edited by
      #2

      Hi,

      Did you check the permissions of this file ?

      Are you running Windows 8 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      10 Feb 2016, 14:41

      • Login

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