Desktop application of my Qt Project
-
Im on ubuntu 18.04. I have an qt application. I want to create a single file of my application. Like setup or exe. It should run like a desktop application. What are the steps for doing it?
-
@suslucoder Installer like on Windows are not common on Linux, because there are many many different flavors of Linux with different packaging systems like rpm or deb and different versions of libraries. What you could do is to create something like Flatpak, see https://flatpak.org/
-
@suslucoder said in Desktop application of my Qt Project:
I want to see my app in shape of diamond
Don't know what you mean here.
"I want to download my app" - download from where? Please be more precise.
-
@suslucoder This is not an answer to my question (from where you want to download the app).
Also, how different are these devices? Can you execute same executable (binaries) on all these devices? -
@suslucoder said in Desktop application of my Qt Project:
i want to download this exe file on my tablet
What is the operating system of your tablet?
-
@suslucoder And why would you want to run exe on linux? The more I read your answers the more confused I get.
-
@artwaw said in Desktop application of my Qt Project:
And why would you want to run exe on linux? The more I read your answers the more confused I get.
If I'm not mistaken, @suslucoder meant "executable file"
@suslucoder said in Desktop application of my Qt Project:
it is the same. Ubuntu 18.04
Then the first thing you need is to deploy your application. See here for a starting point: http://www.tripleboot.org/?p=138#Linux
-
@suslucoder The executable depends on the architecture of the processor so if both devices have the same technology then there will be no problem since you will only have to do a deployment but I think that is not your case since the PCs are from INTEL and the tablets are typically from ARM so you will have to crosscompile Qt for that architecture so you will have an executable for your laptop and another for your tablet
-
@suslucoder said in Desktop application of my Qt Project:
is there any more clear example for deploying a project on linux?
@jsulm posted a link to Flatpak above; have a look.
By the way, @eyllanesc made a very good point: What is the processor architecture of your tablet? If it has an ARM CPU, then it can't run the executable files that you built for your PC. You will need to cross-compile it for ARM.