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: Remote Development (via SSH) for "Desktop" projects?
Forum Updated to NodeBB v4.3 + New Features

Qt Creator: Remote Development (via SSH) for "Desktop" projects?

Scheduled Pinned Locked Moved Qt Creator and other tools
16 Posts 12 Posters 34.1k Views 3 Watching
  • 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
    Robbin
    wrote on last edited by
    #7

    hm, okay, I can't say I used NX lately, so could be good as well, but he did say his connection to that computer is really slow. I guess both vnc and nx wouldn't be good choice in that case.

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nonot1
      wrote on last edited by
      #8

      Hi all,

      Thanks for the advice. The link is slow but the bigger issue is latency and jitter, so remote desktop anything is not going to work.

      I see that NetBeans has some capability for remote c/c++ development via SSH. Somehow it picks up include paths, etc via the remote shell connection.

      See: http://netbeans.org/kb/docs/cnd/remotedev-tutorial.html

      NetBeans even has rudimentary Qt support, but I'd much rather use Qt Creator.

      Is this kind of setup possible with Qt Creator? If not, is it on the feature map? (Seems like it'd be helpful for developing Mobile apps with real HW too.)

      Thank you

      1 Reply Last reply
      0
      • K Offline
        K Offline
        krizajb
        wrote on last edited by
        #9

        Helo,

        Have you made any progress? I am trying to do the same thing but I am slowly loosing the will. Atm I have tried lunching gdbserver process on my centos 6 remote server and tried connecting via QtCreator remote debugging tool on my local Ubuntu development machine. Debugger starts but it soon fails saying no executable given. So I mounted folder containing binary I wish to debug from remote server and finally got error about miss matching libs. From this point on I'm lost.

        I also tried remote development from eclipse, established eclipse connection using ssh and creating remote C/C++ project which even builds if I create makefile by my own but eclipse doesn't recognizes binary so I can't even run/debug it using eclipse (works via terminal). Tried given binary parsers without success. I also think this is the only way this thing will work since it uses remote compiler and library's.

        I am thinking of creating virtual machine with same setup on my centos 6 remote machine and remote debugging from it, but I'm afraid even then I will get some kind of lib version miss matches since server doesn't have X installed.

        Tomorrow I will carefully read all the replays and try them out.

        1 Reply Last reply
        0
        • N Offline
          N Offline
          nonot1
          wrote on last edited by
          #10

          Hi krizajb,

          Nope. Never got this to work.

          I wish I could.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            aabc
            wrote on last edited by
            #11

            What error message do you get ?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              shawn
              wrote on last edited by
              #12

              Hi All,

              Okay. I have to say, I tested NX, and I noticed that it used a few Mbps vs. Windows RDP which used only a couple hundred kbps. Any tricks to get NX to be smarter/more efficient?

              Thanks

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #13

                There is also sshfs which can mount directories from a remote machine via SSH. That could get access to the sources. Not sure how the filesystem will impact performance.

                1 Reply Last reply
                1
                • dkoernerD Offline
                  dkoernerD Offline
                  dkoerner
                  wrote on last edited by
                  #14

                  Hi All,
                  sorry for reviving this old thread. I am also interested in using qt creator as an IDE for remote projects. Have there been any updates in this direction?

                  Btw. I recently came across the Visual Studio C++ for Linux Development Extension which seems like a good alternative for windows based developers. However, I'd love to be able to stick with QtCreator.

                  Best,
                  David

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    brice
                    wrote on last edited by
                    #15

                    I decided to switch to vim just for that one reason. After some steep learning curve, I'm almost there... my new workflow is now tmux + vim.
                    Despite the added benefits of working remotely I do miss the features provided by qtcreator: completion, search and replace, debug, build, jump to build errors, etc... even though some/all of that is supposedly possible with vim :(

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      Konrad Kleine
                      wrote on last edited by
                      #16

                      Hi. I've been working with QtCreator since it's very early days. I was used to all the goodies of this IDE. Then I had to compile and develop in the LLVM source tree and I didn't want to give up on that IDE approach. Compiling LLVM on my machine is way too slow. That's why I switched to compiling on a machine that has more power. Now, compiling is fine but editing is harder for me because I'm used to the IDE. I tried out VScode about a year ago and it wasn't that good either. But nowadays I can highly recommend VSCode for editing CMake projects over SSH without x-forwarding. For x86_64 and for Apple this works great and the IDE has improved very much since last year. There's a bit more tinkering involved but that's fine for me.

                      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