Deploy in remote Ubuntu Server without X11
-
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?
-
Hi,
Does your application have a GUI ?
-
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.
-
IIRC, you can use the offscreen plugin.
What do you use QWidget for ?
-
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. :)
-
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.