How to deploy Qt applications for Linux?
-
Hello all,
I am using Qt Creator 10.0.0 based on QT 6.4.3. I am running it on Ubuntu.Please share some preferred ways to deploy any app.
Thanks
Shrikant Vaishnav -
Hi,
It depends on your goal:
- deb files for Debian based distributions
- rpm files for RH based distributions
- flatpack
- snaps
-
Hi,
It depends on your goal:
- deb files for Debian based distributions
- rpm files for RH based distributions
- flatpack
- snaps
@SGaist sir, i want methods to create a .deb package that I can distribute to another computer.i used linuxdeployqt and cqt deployer but didn't get any success as my Linux is the newest ...please help.
i am using "Ubuntu 22.04.2 LTS"
-
@SGaist sir, i want methods to create a .deb package that I can distribute to another computer.i used linuxdeployqt and cqt deployer but didn't get any success as my Linux is the newest ...please help.
i am using "Ubuntu 22.04.2 LTS"
Debian provides all the required documentation. A good starting point is here.
As for your issue with linuxdeployqt, depending on the oldest Linux distribution you want to support, you should used a virtual machine with an old enough Linux distribution to allows that.