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

Reply via email to