Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator with sshfs
Forum Update on Monday, May 27th 2025

Qt Creator with sshfs

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 451 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.
  • R Offline
    R Offline
    Rebis
    wrote on last edited by
    #1

    Hello everyone, I'm new to qt and this is my first post here, so I apologize in advance if I sound clueless.

    I'm trying to set up a system where I have a qt project on a desktop running Ubuntu 20.04.4, and am able to edit it from my Mac laptop using sshfs. So far I am really close to making this work. I'm able to mount the project with sshfs and open the .pro file in qt creator for macOS, but I am not able to save changes to the code. I get this error:

    Error while saving file: Cannot write file /Users/.../main.cpp: Function not implemented
    

    I can edit the files and save them successfully using VS Code, textEdit, and every other text editor I've tried, except for qt creator.

    I read somewhere that this problem has to do with qt creator using extended attributes, which are not supported by ssh. I can't find where I read this, and I can't confirm if it's true, but it seems like a place to start. Is there some way to reconfigure qt creator to not use extended attributes? Is there maybe an easier way to do what I'm trying to do here?

    Thanks!

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

      Hi and welcome to devnet,

      I currently don't remember that part related extended attributes for Qt Creator however the recommended way to work with a code base on several different different OSs is to use a VCS like git and have a checkout on each machine. That way you avoid getting incompatible settings loaded by your editors. It will also handle for you line ending conversions (i.e. Windows VS Unix likes).

      You do not need any services if you don't want to use GitLab, GitHub or the likes. Git allows you to create repositories locally.

      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
      1
      • R Offline
        R Offline
        Rebis
        wrote on last edited by
        #3

        Thanks, that makes a lot of sense. I don't know why I didn't consider using git - I assumed ssh would be easier and faster.

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

          In terms of speed, local usually outperforms remote :-)

          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

          • Login

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