Results 1 to 20 of 20

Thread: No Manifest

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    122
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    16

    Default No Manifest

    Hi all,
    is there a way to specify that I don't want to use a manifest for my window app?
    Having MANIFESTFILE:NO.
    I tried CONFIG += embed_manifest_exe but I'd need to avoid using the manifest.
    I checked that doc but I couldn't find.
    thanks for any help in advance

    bye

  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
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: No Manifest

    What is the reason for avoiding a manifest?

  3. #3
    Join Date
    Jan 2006
    Posts
    122
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    16

    Default Re: No Manifest

    thanks for answering,

    well to mkae sure there are no incompatibility
    myapp.exe.manifest
    and
    Microsoft.VC80.CRT.manifest

    using embed_manifest_exe, I don't have any change in the use of the Manifest, because cheking the generated project in the linker settings it keeps using
    /MANIFEST /MANIFESTFILE:"..\.tmp\myapp\obj_release\\myapp.exe .intermediate.manifest"

  4. #4
    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
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: No Manifest

    If you won't use the manifest generated by Qt for your application, how do you expect the application to work? Get rid of the Microsoft manifest and use the one provided by Qt if you expect incompatibilities.

  5. #5
    Join Date
    Jan 2006
    Posts
    122
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    16

    Default Re: No Manifest

    thanks again,
    so you suggest to use embed_manifest_exe option in the pro file?
    What I found is that the myapp.exe.intermediate.manifest used (with or without embed_manifest_exe option) has a wrong version...

  6. #6
    Join Date
    Jan 2006
    Posts
    122
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    16

    Default Re: No Manifest

    So, my question is :
    is there a way to avoid embedding the intermediate manifest ancd then specify a myapp.manifest as a separate file?
    So something in the pro that will make the generated visual studio solution with
    /MANIFEST:NO

    thanks again

  7. #7
    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
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: No Manifest

    What happens if you compile your project only with qmake and nmake (without using Visual Studio at all)?

  8. #8
    Join Date
    Jan 2006
    Posts
    122
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    16

    Default Re: No Manifest

    I got the manifest embedded the same, I can see with a resource editor and I can manually remove it, but I'd like to do that during the normal compilation.
    thanks

  9. #9
    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
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: No Manifest

    What do you mean by "normal compilation"? If you mess with Visual Studio then it has nothing to do with Qt, so doing any changes within qmake project won't make a difference.

  10. #10
    Join Date
    Jan 2006
    Posts
    122
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    16

    Default Re: No Manifest

    No mess, just generate the project from the .pro file and then build.
    I'd only need a way to put
    /MANIFESTFILE:NO
    in the Linking options, and I thought this could be done in the .pro file, probably is a default Visual Studio settings...
    Don't know how to change it anyway...

  11. #11
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: No Manifest

    Try adding:
    QMAKE_LFLAGS += /MANIFESTFILE:NO
    (or QMAKE_LFLAGS_RELEASE) to your .pro file.
    J-P Nurmi

Similar Threads

  1. Application Plugins in Windows [XP]
    By dcurtis in forum Installation and Deployment
    Replies: 10
    Last Post: 9th February 2007, 03:01

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.