[Qt-interest] Qt 4.5.0 and manifest files

SALOMEHER at terra.es SALOMEHER at terra.es
Tue Mar 24 10:26:15 CET 2009


Hello,
if you put the following in your file .pro 

CONFIG+=embed_manifest_exe
CONFIG-=embed_manifes_dll  

does not need 
  msvc[rmp]90d.dll
  Microsoft.VC90.DebugCRT.manifest


Regards.



----Mensaje original----<br>
De: b.sonnemann at gmail.com<br>
Recibido: 23/03/2009 17:23<br>
Para: "Torrin Jones"<tjones.job at gmail.com><br>
CC: "qt-interest at trolltech.com"<qt-interest at trolltech.com><br>
Asunto: Re: [Qt-interest] Qt 4.5.0 and manifest files<br>
<br>
AFAIK you are on very thin ice there, as the debug CRT is NOT 
redistributable! Else stick with Torrin Jones advice.<br clear="all"
><br>Benjamin Sonnemann<br>
<br><br><div class="gmail_quote">2009/3/23 Torrin Jones <span dir="ltr"
><<a href="/cp/ps/Mail/ExternalURLProxy?d=terra.
es&u=salomeher&url=mailto:tjones.job at gmail.com&urlHash=-
4.717572521666752E272">tjones.job at gmail.com</a>></span><br><blockquote 
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); 
margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Install the Microsoft Visual C++ 2008 Redistributable Package on the 
end users system.  Then you don&#39;t have to worry about those files 
not being in the place.<div><div></div><div class="h5"><br><br>
<div class="gmail_quote">On Mon, Mar 16, 2009 at 2:13 PM, Pascal Patry 
<span dir="ltr"><<a href="/cp/ps/Mail/ExternalURLProxy?d=terra.
es&u=salomeher&url=mailto:iscy at invalidip.com&urlHash=7.
072385482498655E234" target="_blank">iscy at invalidip.com</a>></span> 
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 
204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Hi, I&#39;m 
experiencing a problem that has to do with manifest files since I 
switched to Qt<br>
4.5.0. I&#39;m bundling the application using this directory structure:
<br>
<br>app<br> \bin<br>   app.exe<br>   Qt*.dll<br>   msvc[rmp]90d.
dll<br>   Microsoft.VC90.DebugCRT.
manifest<br> \plugins<br>   \imageformats<br>     qjpegd4.
dll<br><br>Previously, that used to work on both platform considering 
and ignore manifest files. Now,<br>

XP SP2+ and Vista (platform considering manifest files) are not able 
to load the jpeg<br>plugin. The error written to the debug output on XP 
is:<br><br>LDR: LdrpWalkImportDescriptor() failed to probe C:
\Program<br>Files\app\plugins\imageformats\qjpegd4.dll for its 
manifest, ntstatus 0xc0150002<br>

<br>The event viewer shows that the depency on &#39;VC90.DebugCRT.
manifest&#39; is not correctly<br>satisfied. So, if I copy &quot;
Microsoft.VC90.DebugCRT.manifest&quot; and the 3 msvc[rmp]90d.dll 
to<br>the directory &quot;app\plugins\imageformats\.&quot;, then the 
application will be able to load the<br>

plugin correctly. However, this is not an acceptable workaround. I 
have a few more<br>directories with plugins (like sqldrivers, codecs, 
...) and I would then need to copy<br>these files to all of them.
<br><br>It used to work before because manifest files were not embedded 
inside DLL. The change was<br>

probably done because new platforms will now require a manifest for 
every executable and<br>dll. So is there any way of achieving this 
cleanly without removing the manifest inside<br>the DLLs and 
duplicating the DebugCRT one?<br>

<br>Thank you,
<br><br><br>_______________________________________________<br>Qt-
interest mailing list<br><a href="/cp/ps/Mail/ExternalURLProxy?d=terra.
es&u=salomeher&url=mailto:Qt-interest at trolltech.com&urlHash=-
2.744221257325749E159" target="_blank">Qt-interest at trolltech.
com</a><br><a href="/cp/ps/Mail/ExternalURLProxy?d=terra.
es&u=salomeher&url=http://lists.trolltech.com/mailman/listinfo/qt-
interest&urlHash=-3.3628626332844935E-279" target="_blank">http://lists.
trolltech.com/mailman/listinfo/qt-interest</a><br>

</blockquote></div><br>
</div></div><br>_______________________________________________<br>
Qt-interest mailing list<br>
<a href="/cp/ps/Mail/ExternalURLProxy?d=terra.
es&u=salomeher&url=mailto:Qt-interest at trolltech.com&urlHash=-
2.744221257325749E159">Qt-interest at trolltech.com</a><br>
<a href="/cp/ps/Mail/ExternalURLProxy?d=terra.es&u=salomeher&url=http:
//lists.trolltech.com/mailman/listinfo/qt-interest&urlHash=-
3.3628626332844935E-279" target="_blank">http://lists.trolltech.
com/mailman/listinfo/qt-interest</a><br>
<br></blockquote></div><br>
<br>
<br>



Ahora también puedes acceder a tu correo Terra desde el móvil.
Infórmate pinchando aquí.






More information about the Qt-interest-old mailing list