[cmake-developers] Fwd: [CMake] cmake-gui on windows and qt5 dlls

Brad King brad.king at kitware.com
Tue Aug 15 10:39:28 EDT 2017

On 08/14/2017 04:22 PM, Konstantin Podsvirov wrote:
> 14.08.2017, 16:18, "Ben Boeckel" <ben.boeckel at kitware.com>:
>> On Mon, Aug 14, 2017 at 20:09:17 +1000, Craig Scott wrote:
>>>  moving cmake-gui and the Qt DLL's up to the top level? This may just be for
>>>  Windows, other platforms could stay as they are now. Would obviously have
>>>  to adjust not just the install location but also any internal code that
>>>  tries to work out where other files are located relative to the cmake-gui
>>>  executable. Things like the qt.conf file would also probably need some
>>>  adjustment.
>> Git splits it between bin/ and cmd/ where cmd/ is meant to be in PATH.
>> Then the structure doesn't need to change either.
> +1 Add script (.bat) to `cmd` subfolder to invoke tools from `bin`
> on Windows (and add to PATH variable if needed).

One could move `cmake-gui.exe` and `*.dll` files to some other out-of-the-way
location and then have `bin/cmake-gui.exe` be a launcher that sets up the
environment and runs the real `cmake-gui.exe`.


More information about the cmake-developers mailing list