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. Moving files to allow access to everyone

Moving files to allow access to everyone

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 373 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.
  • P Offline
    P Offline
    Paulus_rin
    wrote on 19 Jul 2020, 11:48 last edited by
    #1

    We have a group project and with our software we create files, like grocery lists and recipes. The problem is that these files are not equal for everybody, but should be. Those files are in a "build" folder, which is individual for everybody. The folder before is the same for everybody. How can I direct them into that folder?
    Didnt find a function in QDir(rename didnt work) and to copy those files didnt work as well, because after building the program the json files always are generated in the build folder. Unsurprisingly

    These are the json files in the build directory

    fol.PNG

    This is the directory in which the files would be accessable for everybody

    folder2.PNG

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 19 Jul 2020, 11:53 last edited by
      #2

      @Paulus_rin said in Moving files to allow access to everyone:

      This is the directory in which the files would be accessable for everybody

      Im not sure what you mean here as even we put them in docs or similar then
      its still on the local pc.

      Cant, you just put them on a server then via a shared folder ?
      If you really want all members to access the SAME files and not copies of the same.
      One of you could share a folder and put that files there and rest uses that.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Paulus_rin
        wrote on 19 Jul 2020, 12:00 last edited by
        #3

        It is a project managed via github and the files in the second screenshot are accessable for everybody, effectively a cloud

        M 1 Reply Last reply 19 Jul 2020, 12:07
        0
        • P Paulus_rin
          19 Jul 2020, 12:00

          It is a project managed via github and the files in the second screenshot are accessable for everybody, effectively a cloud

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 19 Jul 2020, 12:07 last edited by
          #4

          @Paulus_rin
          So you are not in same location?

          Well you could use something like dropbox and store them in the folder/data there
          and all would have access.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Paulus_rin
            wrote on 19 Jul 2020, 18:04 last edited by
            #5

            No, we are not. Yeah, but i thought that something linke QDir could work

            M 1 Reply Last reply 19 Jul 2020, 18:14
            0
            • P Paulus_rin
              19 Jul 2020, 18:04

              No, we are not. Yeah, but i thought that something linke QDir could work

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 19 Jul 2020, 18:14 last edited by
              #6

              @Paulus_rin
              Hi
              QDir is just a helper class to work with files and folders.
              But it cant make a local folder public to others or things like that.

              1 Reply Last reply
              1

              3/6

              19 Jul 2020, 12:00

              • Login

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