isoimagewriter and manifest files

Jonathan Riddell jr at jriddell.org
Wed Apr 13 16:16:01 BST 2022


I've solved the problem I had with isoimagewriter not loading icons.  The
first time I called QIcon I instead called
KIconLoader::global()->loadIcon() and that seemed to load the magic
initRCCIconTheme() function that it needed to get it working.

My more important problem is I need to include a .manifest file into the
binary which tells it to use elevated privileges (to write to the USB
drive).  This is done here:
https://invent.kde.org/utilities/isoimagewriter/-/blob/master/isoimagewriter/isoimagewriter.rc
https://invent.kde.org/utilities/isoimagewriter/-/blob/master/res/isoimagewriter.manifest

But when compiling with craft, msvc2019 and ninja it seems to create its
own embed.manifest file which conflicts.  Would anyone know how to get it
to not generate this conflicting manifest file?

Google pointed me to do background information here but I don't think it
helps this issue:
https://cmake.org/pipermail/cmake-developers/2015-September/026385.html

Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20220413/e8d60893/attachment.htm>


More information about the Kde-windows mailing list