Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-8536

Clearer documentation for embed_manifest_exe config option

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P4: Low
    • 5.4.1
    • 4.6.1
    • Documentation
    • None
    • Windows

    Description

      On Windows, certain standard dialogs like File/Open look a little different when a program requests version 6 of the Common Controls DLL than they do by default. Executables request the newer dialogs by including a manifest. This may be a separate file like example.exe.manifest, or it may be embedded into an existing .exe file, using a tool like mt.exe from the Windows SDK.

      Qt has a CONFIG option called embed_manifest_exe. From the name, it seems like it might be capable of embedding a manifest file into an .exe file. But if it can do this, the documentation isn't clear on how.

      1. Where does it read the manifest file that it embeds?
      2. Does it only work when generating a .DLL, as the documentation says? "embed_manifest_exe: Embeds a manifest file in the DLL created as part of an application project." Or is that an error?
      3. Does it only work when using Visual Studio 2005 or later, as the Windows Deployment guide suggests, or does it work when using MinGW too?

      Manifest files are useful for various purposes. Besides specifying common dialog styles, and SxS assemblies, they can be used to tell Vista to always run a certain program as an admin, for example. It seems the Qt support for manifest files may be designed to only support their use in SxS assemblies, but the documentation isn't clear enough to tell for sure.

      Attachments

        For Gerrit Dashboard: QTBUG-8536
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            sgdoerfler Steven Doerfler
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes