[Qt-interest] Creation of installation package for QT project ?

Patric userqt at gmail.com
Thu Jun 25 02:15:31 CEST 2009


Thank you very much, Mike. :)
I actually already wrote the script for inno setup, and I think it'll 
satisfy my needs for the moments. A friend of mine recommended it. But next 
time when I must create an installation I'll consider using Null Soft.

Best regards,
Patric

----- Original Message ----- 
From: "Mike Short" <Mike.Short at fawkesengineering.com>
To: "'Patric'" <userqt at gmail.com>
Sent: Thursday, June 25, 2009 2:36 AM
Subject: RE: [Qt-interest] Creation of installation package for QT project ?


> Some of the dlls are required to be under certain directories.
>
> The imageformats\qjpeg4.dll for instance.
>
> All the base qt stuff will just be in the directory where your .exe is.
>
> So something like this is good:
>
> QtCore4.dll
> QtGui4.dll
> (whatever other Qt-dlls)
> Imageformats\qjpeg4.dll
> MyApp.exe
>
> Something like that is what works.
>
> I prefer to use Null Soft installer, that is what Qt uses.
>
> http://nsis.sourceforge.net/Download
>
> I tried Inno Setup it was really wasy to use.
> I liked all the add ons and user support of NSIS.
> Way more configurable, a little more of a learning curve, but seems a lot
> more advanced.
>
> Hope you get this figured out.
>
> I could help you write up a small installer config file for NSIS if you 
> want
> to try working with it.
>
>
> -Mike Short
> Fawkes Engineering, LLC
>
>
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com
> [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Patric
> Sent: Wednesday, June 24, 2009 4:14 PM
> To: Alessandro Portale; qt-interest List
> Subject: Re: [Qt-interest] Creation of installation package for QT project 
> ?
>
> Hm, I'm wondering why Dependency Walker is not complaning about qjpeg4.dll 
> .
> Or maybe it's just not mandatory requerement.
>
> Alessandro, I guess it's not a good idea to place the exe, all the object
> files from my work and the few .dlls in one folder. Would you recommend 
> some
> hierarchy for my setup package ?
> Thank you for the help.
>
> Regards,
> Patric
>
>
> ----- Original Message -----
> From: "Alessandro Portale" <Alessandro.Portale at trolltech.com>
> To: "qt-interest List" <qt-interest at trolltech.com>
> Sent: Thursday, June 25, 2009 12:30 AM
> Subject: Re: [Qt-interest] Creation of installation package for QT project 
> ?
>
>
>> Patric schrieb:
>>> Anyway, I use Inno Setup right now, but I have problems with my
>>> resources in it, when QT is not installed it seems it can't load my
>>> resource. It's a JPEG image which I use in QLabel, I'm setting it via QT
>>> Creator. But when QT is installed, everything is fine.
>>>
>>> Which libraries do I need to add to my setup ? I added the following :
>>> mingwm10.dll
>>> QtCore4.dll
>>> QtGui4.dll
>>> QtNetwork4.dll
>>
>> It seems to me that Your installer package is missing the Qt image
>> format plugin for jpeg. Next to Your app, You need a directory called
>> "imageformats" with the "qjpeg4.dll" inside. Example:
>>
>>    MyApp.exe
>>    mingwm10.dll
>>    QtCore4.dll
>>    QtGui4.dll
>>    QtNetwork4.dll
>>    imageformats\qjpeg4.dll    <--- missing?
>>
>> Hope that helps,
>> Alessandro
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> 




More information about the Qt-interest-old mailing list