Results 1 to 5 of 5

Thread: Whats a manifest file for vc++

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2009
    Posts
    45
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1

    Default Whats a manifest file for vc++

    Whats the purpose of using the Microsoft.VC90.CRT.manifest file? My program wont run on my testing machine without it..

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Whats a manifest file for vc++

    It contains information about dependencies of your application.

  3. #3
    Join Date
    Jan 2009
    Posts
    45
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1

    Default Re: Whats a manifest file for vc++

    Understood.. Now I read in the Qt deployment article that I need the msvc runtime files and also the manifest file.. Problem is the "version" thats in the manifest for my program is different than the "version" of the manifest where my msvc runtime dlls are kept.. Any idea why this is?

    Just to make sure im correct here.. The manifest is to make sure that my program is using the version of the msvc dll's that it was built/tested on correct?

    I looked at google earth(written in Qt) and it doesnt have a *.manifest file in the program directory, why is that?

  4. #4
    Join Date
    Sep 2006
    Posts
    27
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1
    Thanked 2 Times in 1 Post

    Default Re: Whats a manifest file for vc++

    Quote Originally Posted by tgreaves View Post
    Understood.. Now I read in the Qt deployment article that I need the msvc runtime files and also the manifest file.. Problem is the "version" thats in the manifest for my program is different than the "version" of the manifest where my msvc runtime dlls are kept.. Any idea why this is?
    you might be looking in the wrong place.. look in %windir%/WinSxs: there are several versions of the runtime dlls.

    Just to make sure im correct here.. The manifest is to make sure that my program is using the version of the msvc dll's that it was built/tested on correct?
    correct. If the versions do not match, you'll get the "Application failed to start ..." error.

    I looked at google earth(written in Qt) and it doesnt have a *.manifest file in the program directory, why is that?
    the manifest is embedded. If you open the executable with a text/hex editor, scroll to the bottom and you'll find the manifest, example:
    Qt Code:
    1. <dependency>
    2. <dependentAssembly>
    3. <assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
    4. </dependentAssembly>
    5. </dependency>
    To copy to clipboard, switch view to plain text mode 

    also have a look at dependency walker, a very usefull program to spot dependency problems.

Similar Threads

  1. Apparent error in QtCore/quuid.h
    By cwp500 in forum Qt Programming
    Replies: 11
    Last Post: 18th December 2008, 21:51
  2. Can you specify a file engine?
    By skimber in forum Qt Programming
    Replies: 2
    Last Post: 18th September 2008, 16:54
  3. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 07:51
  4. file renaming on windows
    By jdd81 in forum Qt Programming
    Replies: 9
    Last Post: 2nd October 2007, 20:41
  5. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 16:21

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.