PDA

View Full Version : dependency file for Qt application to deploy



rajeshs
22nd July 2008, 13:14
Hi,

What are the files need to deploy Qt application on non Qt system? I developed my Qt application on Visual Studio 2005 and Qt4.4.

calhal
22nd July 2008, 14:18
Read this, it should help
http://doc.trolltech.com/4.4/deployment-windows.html

biswajithit
4th August 2008, 10:50
you dont need any qt related file to deploy your qt application to other machine.

you can do it in two ways.

1. build qt statically and link qt libraries statically.In this case your application will be bigger but no additional files need to send.

2. create a .dll file having all the qt symbol (used in your application) and send it with your application.

Two options have both pros and cons so apply it according to your need.

enjoy.

rajeshs
8th August 2008, 10:00
Hi,

for me 1 option is not possible, because i am using commertial vertion.
can u please tell me ho to make dll with all the Qt symbols used in applicaiton?

jpn
8th August 2008, 10:09
It is possible to build the commercial version of Qt statically just the same way it is possible with the open source version.

biswajithit
11th August 2008, 09:59
hi,

you can build your qt statically. only you need to have qt-win-commercial*.zip (unzip it. using cmd run configure and then nmake .NOTE: you need to have Visual studio or other compiler pre installed.) file insteed of exe (direct installation---> not good for application development) of qt .

1. configure -static

give your secret license number

say yes

2. nmake (if visual studion)

if you are using visual studio .......you can create .dll file ...it is in options or settings.

regards
biswajit