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. writing in linux
QtWS25 Last Chance

writing in linux

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 4 Posters 1.0k 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.
  • L Offline
    L Offline
    Leopold
    wrote on last edited by
    #1

    Hi, it's me again,
    I try to work unter linux mint.I have downloaded from qt-server.
    When I want to work on a project (imported from windows), there was always the hint that there were no writing rights on different files.No problem, I changed on all with chmod 1777. Even on cmakelists.txt.Now I can load and compile my project but when I want to change sth. in cmakelists.txt i have the same error again: can not save cmakelists.txt.
    Where do I have to change which parameter?
    Thank you experts!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Where have you put your project code (what directory)?

      Are you working as root (superuser)?

      (Z(:^

      1 Reply Last reply
      2
      • L Offline
        L Offline
        Leopold
        wrote on last edited by
        #3

        @sierdzio said in writing in linux:

        Where have you put your project code (what directory)?

        Are you working as root (superuser)?

        project code is under /home/my name/code
        no not working as root
        I could start qt with sudo but I think there should be an other way!
        Qt is on /home/myname/qt too.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          How exactly are copying the files between Windows and Linux ?

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

          L 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            How exactly are copying the files between Windows and Linux ?

            L Offline
            L Offline
            Leopold
            wrote on last edited by
            #5

            @SGaist
            I copied complete directory with dolphin, could have done it with mc as well.It is on an other partition,same PC.
            But I found the solution myself:
            i had to change owner of my project directory
            chown -r username:groupdirectory
            in mc there is a button which does that for you.
            @SGaist may you have a look to my audiooutput question in a few minutes

            1 Reply Last reply
            0
            • A Offline
              A Offline
              ArsenArsen
              wrote on last edited by
              #6

              Hey there. Since it looks like you're copying these files from an NTFS partition I'd like to suggest installing ntfs-3g and using it instead for mounting NTFS drives as it will allow you to write on those drives too. The default NTFS driver "assumes" that the owner of files and directories on an NTFS partition is root.

              1 Reply Last reply
              0
              • L Offline
                L Offline
                Leopold
                wrote on last edited by
                #7

                no, I prefer copying the directory to linux,this way nothing will be changed on my original files under windows.But I solved it already!

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  You should rather consider using git for that. That will handle the line ending conversion for you and you'll have a better management of your code history.

                  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
                  5

                  • Login

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