Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Deploy in remote Ubuntu Server without X11

Deploy in remote Ubuntu Server without X11

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 1.5k Views 1 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.
  • D Offline
    D Offline
    dasun
    wrote on last edited by
    #1

    I have a remote Ubuntu server. I need to deploy my application (Console Server Application) there. What should I do? I meant, I don't have a GUI system on my Remote Server. Can I install Qt on my remote serve and compile it there? Or Should I build it on my local machine and deploy there?

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

      Hi,

      Does your application have a GUI ?

      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
      • D Offline
        D Offline
        dasun
        wrote on last edited by
        #3

        No, It's a console application.Actually it's a web service developed using QHttpServer (https://github.com/nikhilm/qhttpserver/) but I use QWidgets internally.

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

          IIRC, you can use the offscreen plugin.

          What do you use QWidget for ?

          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
          • D Offline
            D Offline
            dasun
            wrote on last edited by
            #5

            I reuse code I wrote for anther application which is a QWidget, it creates a svg file using QPixmap. (Nothing shows on the screen)

            I'm not getting how offscreen plugin helps me to Deploy the app on an Ubuntu Server. :)

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

              Since you are using graphic classes you will need a plugin that allows them to render and since you don't have X11 on your server the offscreen plugin sounds like the way to go.

              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