8

Ok, this is indeed a newbish question but I have to take a first step somewhere.

I've just had experience with DevC++ console applications, which means a simple .exe would be produced from the compiling, running from cmd. That was all, you could send the .exe to a gentleman running the same OS and he could run your little program.

What happens with Qt Creator projects, though? I've finally finished my dekstop application, wrote and debugged everything that needed to be done, I sort of have some nice GUI going, everything's working nice but... How do I acually give it to other people that don't have QtC to run it through?

Any guide that covers this?

Mat
  • 202,337
  • 40
  • 393
  • 406
Dimitris Sfounis
  • 2,400
  • 4
  • 31
  • 46

3 Answers3

3

Deployment
Here are some guides helping you to deploy your application on different platforms:

Installation
I can highly recommend

Distribution
Have a look at this site. Here you can present your application to others and let them download it.


The subject of your question is simple, but I'm sure it will help many people! Your question is a good contribution.

Exa
  • 4,020
  • 7
  • 43
  • 60
2

Well, last thing you do is find out dependencies - shared libraries, and squeeze that all into installer. :)

Resources:

Qt has a nice page called Deploying an Application on Windows, as a part of their documentation. So all the dependencies related stuff is covered there.

List of best free installers is available here.

Community
  • 1
  • 1
Andrejs Cainikovs
  • 27,428
  • 2
  • 75
  • 95
1

My suggestion is to invest some time in writing a CMake script and then using CPack for the distribution.

Here is a very simple example http://www.cmake.org/Wiki/BundleUtilitiesExample

with this you are able to deploy a mac application. Then you can also extend it to create Debian or RPM packages!

The CMake mailing list is always a source of useful suggestion.

In windows you probably have to redistribute the Qt DLL with your program, as well as for Mac you have to include Qt libraries in your bundle.

linello
  • 8,451
  • 18
  • 63
  • 109