<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 18, 2017 at 5:05 AM, Konstantin Podsvirov <span dir="ltr"><<a href="mailto:konstantin@podsvirov.pro" target="_blank">konstantin@podsvirov.pro</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Clément Gregoire!<br>
<br>
17.08.2017, 21:55, "Clément Gregoire" <<a href="mailto:lectem@gmail.com" target="_blank">lectem@gmail.com</a>>:<br>
<span>> So the following worked for me:<br>
><br>
> move cmake-gui.exe, all dlls and qt.conf to a "cmkae/bin/gui" subfolder<br>
><br>
> create a batch file named<br>
><br>
> cmake-gui.bat<br>
><br>
> with the following content<br>
><br>
> @echo off<br>
> start "" /B "%~dp0\gui\cmake-gui.exe" %*<br>
><br>
> And modify qt.conf so that the plugin directory is correct :<br>
><br>
> from      Plugins = ../plugins     to    Plugins = ../../plugins<br>
><br>
> I'm not (yet) on the dev mailing list, so feel free to transfer the solution there.<br>
<br>
</span>Please review dev mailing list archive too:<br>
<a href="http://public.kitware.com/pipermail/cmake-developers/2017-August/030228.html" rel="noreferrer" target="_blank">http://public.kitware.com/pipe<wbr>rmail/cmake-developers/2017-<wbr>August/030228.html</a><br>
(may be I forgot /B option)<br></blockquote><div><br></div><div>Side note: really weird, but that email you've linked to never made it to my inbox (can't explain it, checked my trash and spam folders too), so I never saw your request to ask to test!</div><div><br></div><div>In the past, one problem I've run into with using simple batch files as launcher scripts is that they can flash up a console window briefly before starting the real app. This can look suspicious and distracting to the user, so it is something to avoid. I think at one past employer we ended up using something like wscript instead, which allowed us to avoid that problem and it worked on all Windows versions without any extra software dependencies. Maybe we just didn't have good enough batch-file-fu, maybe things work differently now, I don't know. Been a number of years since I've looked at that specific problem. Some context, but only basic extra info:</div><div><br></div><div><a href="https://stackoverflow.com/a/9062764/1938798">https://stackoverflow.com/a/9062764/1938798</a><br></div></div><div><br></div>-- <br><div class="m_2358300067575119083gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Craig Scott<br><div>Melbourne, Australia</div><div><a href="https://crascit.com" target="_blank">https://crascit.com</a><br></div></div></div></div></div></div></div>
</div></div>