On Fri, Aug 18, 2017 at 5:05 AM, Konstantin Podsvirov <
konstan...@podsvirov.pro> wrote:

> Hello Clément Gregoire!
>
> 17.08.2017, 21:55, "Clément Gregoire" <lec...@gmail.com>:
> > So the following worked for me:
> >
> > move cmake-gui.exe, all dlls and qt.conf to a "cmkae/bin/gui" subfolder
> >
> > create a batch file named
> >
> > cmake-gui.bat
> >
> > with the following content
> >
> > @echo off
> > start "" /B "%~dp0\gui\cmake-gui.exe" %*
> >
> > And modify qt.conf so that the plugin directory is correct :
> >
> > from      Plugins = ../plugins     to    Plugins = ../../plugins
> >
> > I'm not (yet) on the dev mailing list, so feel free to transfer the
> solution there.
>
> Please review dev mailing list archive too:
> http://public.kitware.com/pipermail/cmake-developers/2017-
> August/030228.html
> (may be I forgot /B option)
>

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!

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:

https://stackoverflow.com/a/9062764/1938798

-- 
Craig Scott
Melbourne, Australia
https://crascit.com
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to