Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Is QDir::temp() suitable to use as directory for disk cache on Symbian devices

    Mobile and Embedded
    2
    3
    2441
    Loading More Posts
    • 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
      mario last edited by

      I'm planning to store about 200k of data using QNetworkDiskCache (which requires a directory to place the files).

      Does QDir:temp() actually use QDesktopServices::storageLocation() to find out the 'temp' dir location?

      1 Reply Last reply Reply Quote 0
      • D
        dangelog last edited by

        http://qt.gitorious.org/qt/qt/blobs/master/src/gui/util/qdesktopservices_s60.cpp#line406
        http://qt.gitorious.org/qt/qt/blobs/master/src/corelib/io/qdir.h#line216

        Software Engineer
        KDAB (UK) Ltd., a KDAB Group company

        1 Reply Last reply Reply Quote 0
        • M
          mario last edited by

          Thanks for pointing out the source code (which I was too lazy to lookup myself).

          I think I'll go with the desktopservice's storageLocation function.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post