qt application deploy (compatibility)

I have ported on Linux a QT application that I developed under Windows. I have Ubuntu 18.10 and QT library 5.12, (I don't need these specific version, but that's what I found at the time of my download).

Now I want to distribute this application to a few of my friends, but I don't want them to download the full QT suite and compile source code. I'd like to build a "regular" package that they can install. After giving up with 'Snapcraft', I'm trying to use 'Debreate', but there's something I don't understand about dependencies.

I'd like my application to be installable on Ubuntu versions different from mine and I'd like the installer to install required QT dependencies without installing the huge QT world.

How can I rely that any distribution finds QT libraries version 5.12? Can I indicate a ppa to be added? Also including required .so files in the package has failed.

Thanks

1 Answer

The cleanest option to do is develop an AppImage.

Creating a standalone application bundle

Deploying a Qt5 application for Linux as a standalone bundle involves bundling it with the necessary Qt components that are needed for the application to run. These can be Qt libraries, Qt plugins, and especially the Qt platform plugin.

A deployment tool is available that automates the prodecures described here and provide an AppImage

Link to deployment tool:

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like