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 Re: No Manifest

    Yes I tried CONFIG-=embed_manifest_exe and the manifest is generated the same.
    I managed to replace the default manifest by using mt.exe, but it would be better to have the chance to do that from the pro file.
    Apparently CONFIG-=embed_manifest_exe doesn't work, qt bug?
    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    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: No Manifest

    As far as I understand the whole concept, the manifest will always be generated. It's just a matter of embedding it into the binary or not. The docs say embed_manifest_exe is not turned on by default, so unless you turned it on yourself, it shouldn't be active (contrary to embed_manifest_dll).

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

    Default Re: No Manifest

    ok, that's exactly what I'm saying.
    I think that removing embed_manifest_exe should trigger /MANIFEST:NO in the soulution generated, but it's not like that.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    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: No Manifest

    I say you don't have to remove it, just don't add it... It's not turned on by default. I asked you to run plain qmake, nmake combination (without going through VS solution) at the beginning to see if everything works fine. You can even make a new project from scratch (qmake -project) first to make sure no alien directives are placed into the project file. In this case the manifest shouldn't be embedded (at least according to the docs), but it should get generated (which seems fine).

    And please, could you say WHY you want to get rid of the manifest generated by Qt?

    BTW. The manifest is generated by qmake according to these rules:
    win32-msvc2005:!equals(TEMPLATE_PREFIX, "vc"):equals(TEMPLATE, "app") {
    QMAKE_LFLAGS += $$quote(/MANIFESTFILE:\"$${OBJECTS_DIR}\\$${TARGET}.interme diate.manifest\")
    QMAKE_PREV_POST_LINK = $$QMAKE_POST_LINK
    QMAKE_POST_LINK = $$quote(mt.exe -nologo -manifest \"$${OBJECTS_DIR}\\$${TARGET}.intermediate.manifes t\" -outputresource: $(DESTDIR_TARGET);1$$escape_expand(\n\t))
    QMAKE_POST_LINK += $$QMAKE_PREV_POST_LINK
    }
    You can remove the directive from the project file and add those of the above mentioned commands which you need directly into your project file.

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.