Results 1 to 3 of 3

Thread: issue with rcc.exe and msvcr80.dll (re: Qt4 with Visual Studio)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Nov 2006
    Location
    Shrewsbury, UK
    Posts
    97
    Thanks
    3
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: issue with rcc.exe and msvcr80.dll (re: Qt4 with Visual Studio)

    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

    Qt Code:
    1. #
    2. # $Id$
    3. #
    4. # qmake configuration for win32-msvc2005
    5. #
    6. # Written for Microsoft C++.NET 2005
    7. # only a slight difference to msvc.net, but Trolltech also has an extra qmakespec for 2005
    8. #
    9.  
    10. MAKEFILE_GENERATOR = MSVC2005
    11. TEMPLATE = app
    12. CONFIG += qt warn_on release incremental flat link_prl precompile_header \
    13. copy_dir_files debug_and_release debug_and_release_target embed_manifest_dll
    14. QT += core gui
    15. DEFINES += UNICODE QT_LARGEFILE_SUPPORT WIN32 _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE
    16. .
    17. .
    18. .
    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
    Last edited by jacek; 13th May 2007 at 20:32. Reason: wrapped too long line

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.