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. Virtual/Hidden File System

Virtual/Hidden File System

Scheduled Pinned Locked Moved General and Desktop
filesvirtualresource
3 Posts 2 Posters 1.4k Views
  • 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.
  • S Offline
    S Offline
    Scribe
    wrote on last edited by Scribe
    #1

    Hi guys,

    I wish to bundle several files with my Qt app, including .html, .js and .exe and was wondering if there is any mechanism to place these into one binary or generate a virtual/temp file-system at run-time so that filesystem behaviour won't break but at the same time these files aren't sitting around in the Qt app directory for people to view/mod.

    I considered the Qt resource system but presumably a link to another file in a .html, for example, wouldn't be able to see another file within the resource or a .exe program won't be able to see its configuration file etc.

    Many thanks

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AnantAgrawal
      wrote on last edited by
      #2

      Hi there,

      What filesystem are you using? If it's unix/linux based, just create a hidden directory (similar to .ssh/ or .config/) at a preferred location by appending a dot to the directory name. This will resolve the html link and other related issues as mentioned my you.

      Hope this works for you.

      Thanks,
      Anant Agrawal

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Scribe
        wrote on last edited by
        #3

        Thank you Anant,

        I will be deploying both to Linux and Windows and so require a solution for both, however they don't necessarily have to be the same solution.

        Many thanks

        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