I don't like all those separate little manifest file floating about with exe's. I'll tell you what I do to get rid of them - this applied to VS2005. After you've patched the Qt4 open source, but before you "qconfigure" it, find the file "<Qt Install>\mkspecs\win32-msvc2005\qmake.conf" where <Qt Install> is your installation folder.
Open the file up
#
# $Id$
#
# qmake configuration for win32-msvc2005
#
# Written for Microsoft C++.NET 2005
# only a slight difference to msvc.net, but Trolltech also has an extra qmakespec for 2005
#
MAKEFILE_GENERATOR = MSVC2005
TEMPLATE = app
CONFIG += qt warn_on release incremental flat link_prl precompile_header \
copy_dir_files debug_and_release debug_and_release_target embed_manifest_dll
QT += core gui
DEFINES += UNICODE QT_LARGEFILE_SUPPORT WIN32 _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE
.
.
.
#
# $Id$
#
# qmake configuration for win32-msvc2005
#
# Written for Microsoft C++.NET 2005
# only a slight difference to msvc.net, but Trolltech also has an extra qmakespec for 2005
#
MAKEFILE_GENERATOR = MSVC2005
TEMPLATE = app
CONFIG += qt warn_on release incremental flat link_prl precompile_header \
copy_dir_files debug_and_release debug_and_release_target embed_manifest_dll
QT += core gui
DEFINES += UNICODE QT_LARGEFILE_SUPPORT WIN32 _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE
.
.
.
To copy to clipboard, switch view to plain text mode
Add "embed_manifest_exe" to the CONFIG line and save it. Now build Qt4 as normal and all the tools/samples/examples etc. should have their manifests embedded, as well as the runtime dll's.
Pete
Bookmarks