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

Patric userqt at gmail.com
Thu Jun 25 00:04:46 CEST 2009


I see, thank you again, Alessandro. I'll try to do that after I read the 
document Martin gave me. 
http://doc.trolltech.com/4.5/deployment-windows.html#qt-plugins
Strange I didn't noticed it before.

Anyway, I would be glad to know is the QT installation from the SDK 
automatically set to static or dynamic.
In my QT libs folder C:\Qt\2009.02\qt\lib I have mainly .a and .prl files, 
so I guess by default QT library is statically linked ? But in my bin 
directory C:\Qt\2009.02\qt\bin I also see all the .dlls .
I'm a little bit confused.

Best 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
> 




More information about the Qt-interest-old mailing list