Important: Please read the Qt Code of Conduct -

Deploy Qt 5 Application on ubuntu server 12.04 without X11 manager

  • Hi all,

    I had develop an application on ubuntu desktop 12.04 64 bits.

    this application works well.

    I had test it on ubuntu server 12.04 64bits with gnome environnement (X11 is active of course). I have found all the necessary dependancies and the application works well.

    I need now to deploy this application on a ubuntu server 12.04 64 bits WITHOUT window manager. only text interface.
    The application not works now, I have this message :

    This Application failed to Start because it could not find or load the Qt platform plugin "xcb"
    Available platform plugins are : linuxfb, minimal, offscreen, xcb

    I don't want to install QT5 SDK or QT5 libraries from packages on this server.

    The problem is that my application not use GUI, but do job on image and use QPixmap. This Class seems to requiere x11 lib. My application load image, "paint" on them and save them. No GUI are needed for it, just console application.

    What can I do to solve my problem ?

    Thanks in advance.

  • Hi there. I also found the deployment of Qt applications on Ubuntu to be quite a challenge so I wrote "this": post of my personal experience. I hope that helps :)

Log in to reply