Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, April 2008
Qt app deployment questions


Message 1 in thread

Hi all,

I have a very basic qt app (using only QtCore and QtGui) and it
compiled and run smoothly on my development box.

Problem came when I tried to deploy it on other boxes. I got a rude
"Application not installed correctly, reinstalling might fix ..."  msg box
thrown at me. From what I understand, I shouldn't be needing any of
qt's .lib or .dll files carried with my executables if I do static linking.

Is there any more files or deployment steps that I need to include?

Note:

My development box, I use MS Visual Studio 8.0 (2005) + MS SDK.
Qt opensource edition is natively build from source as both static and
dynamic libraries. All the .libs and .dlls are there.

Thanks.
-- 
 [ signature omitted ] 

Message 2 in thread

Barkah Yusuf Widodo wrote:
> Hi all,
> 
> I have a very basic qt app (using only QtCore and QtGui) and it
> compiled and run smoothly on my development box.
> 
> Problem came when I tried to deploy it on other boxes. I got a rude
> "Application not installed correctly, reinstalling might fix ..."  msg box
> thrown at me. From what I understand, I shouldn't be needing any of
> qt's .lib or .dll files carried with my executables if I do static linking.
> 
> Is there any more files or deployment steps that I need to include?

Yes, there are a few more things you will need to do, such as bundling some 
of the Qt plugins. Have a look at the deployment docs, 
http://doc.trolltech.com/4.4rc1/deployment.html, for info on what (and how) 
to deploy with your application.

-- 
 [ signature omitted ]