<div dir="ltr">Oooh ooh I think I got it<br><a href="https://invent.kde.org/utilities/isoimagewriter/commit/f6cafd4b1f034da520b9bd28c3a1a5e1169af956">https://invent.kde.org/utilities/isoimagewriter/commit/f6cafd4b1f034da520b9bd28c3a1a5e1169af956</a><br>set(CMAKE_EXE_LINKER_FLAGS    "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO")<br><br>Could someone test the built package on<br><a href="https://binary-factory.kde.org/view/Windows%2064-bit/job/KDE%20ISO%20Image%20Writer_Nightly_win64/">https://binary-factory.kde.org/view/Windows%2064-bit/job/KDE%20ISO%20Image%20Writer_Nightly_win64/</a><br>You'll need to download an ISO and have a USB disk.  It works for me.<br><br>e.g. <a href="http://distro.ibiblio.org/damnsmall/current/dsl-4.4.10.iso">http://distro.ibiblio.org/damnsmall/current/dsl-4.4.10.iso</a><br><br>Jonathan<br><br><br>On Wed, 13 Apr 2022 at 16:16, Jonathan Riddell <<a href="mailto:jr@jriddell.org">jr@jriddell.org</a>> wrote:<br>><br>> 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.<br>><br>> 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:<br>> <a href="https://invent.kde.org/utilities/isoimagewriter/-/blob/master/isoimagewriter/isoimagewriter.rc">https://invent.kde.org/utilities/isoimagewriter/-/blob/master/isoimagewriter/isoimagewriter.rc</a><br>> <a href="https://invent.kde.org/utilities/isoimagewriter/-/blob/master/res/isoimagewriter.manifest">https://invent.kde.org/utilities/isoimagewriter/-/blob/master/res/isoimagewriter.manifest</a><br>><br>> 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?<br>><br>> Google pointed me to do background information here but I don't think it helps this issue:<br>> <a href="https://cmake.org/pipermail/cmake-developers/2015-September/026385.html">https://cmake.org/pipermail/cmake-developers/2015-September/026385.html</a><br>><br>> Jonathan<br>><br>><br></div>