Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to distribute an application with libraries?

I wrote a Qt C++ application and want to deploy it on Windows, OSX and Linux. The problem is, it only works on machines where Qt is installed.

How would I make it work on computers that don't have Qt? Do I have to install it with an application setup or something? I don't get the whole linking thing.

like image 562
rettetdemdativ Avatar asked Sep 19 '25 23:09

rettetdemdativ


1 Answers

There is nice tools for prepare application for distribution. Its macdeployqt for OSX and windeployqt for Windows. They copy all dependencies into application folder, so you can just copy that folder to another machine. For linux you need create package. This specific for different linux version. Read more about deployment here

like image 89
Evgeny Avatar answered Sep 21 '25 14:09

Evgeny