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

2017-08-17 Thread Craig Scott
On Fri, Aug 18, 2017 at 6:23 AM, Craig Scott wrote: > > > 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" : >> > So the following worked for me: >> > >> > move cmake-gui.exe, all dl

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

2017-08-17 Thread Craig Scott
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" : > > So the following worked for me: > > > > move cmake-gui.exe, all dlls and qt.conf to a "cmkae/bin/gui" subfolder > > > > create a batch

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

2017-08-17 Thread Konstantin Podsvirov
e trick ? Just a >> cmake-gui.bat that calls cmake-gui.exe should work. >> >> De : Robert Maynard >> Envoyé le :lundi 14 août 2017 15:24 >> À : Craig Scott >> Cc : Clément Gregoire; CMake >> Objet :Re: [CMake] cmake-gui on windows and qt5 dlls >> &g

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

2017-08-17 Thread Clément Gregoire
t; cmake-gui.bat that calls cmake-gui.exe should work. > > > > *De : *Robert Maynard > *Envoyé le :*lundi 14 août 2017 15:24 > *À : *Craig Scott > *Cc : *Clément Gregoire ; CMake > *Objet :*Re: [CMake] cmake-gui on windows and qt5 dlls > > > > More importantly

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

2017-08-14 Thread Lectem
Right, as mentionned by Craig Scott, a script might do the trick ? Just a cmake-gui.bat that calls cmake-gui.exe should work. De : Robert Maynard Envoyé le :lundi 14 août 2017 15:24 À : Craig Scott Cc : Clément Gregoire; CMake Objet :Re: [CMake] cmake-gui on windows and qt5 dlls More

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

2017-08-14 Thread Konstantin Tokarev
14.08.2017, 16:01, "Craig Scott" : > On Mon, Aug 14, 2017 at 9:05 PM, Clément Gregoire wrote: >> Wouldn't it be possible to move it to a subfolder with the DLLs and put a >> link next to cmake and ccmake? Executables look for DLLs in their directory >> and it wouldn't pollute the PATH > > Syml

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

2017-08-14 Thread Robert Maynard
More importantly symlinks are restricted to administrator accounts only in Windows Vista/7/8. Windows 10 with Developer Mode activated allows none-elevated accounts to create symlinks. This is important as CMake does ship non-installer windows binaries. On Mon, Aug 14, 2017 at 9:00 AM, Craig Scot

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

2017-08-14 Thread Craig Scott
On Mon, Aug 14, 2017 at 9:05 PM, Clément Gregoire wrote: > Wouldn't it be possible to move it to a subfolder with the DLLs and put a > link next to cmake and ccmake? Executables look for DLLs in their directory > and it wouldn't pollute the PATH > Symlinks are available on NTFS filesystems from

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

2017-08-14 Thread Clément Gregoire
Wouldn't it be possible to move it to a subfolder with the DLLs and put a link next to cmake and ccmake? Executables look for DLLs in their directory and it wouldn't pollute the PATH I personally like to be able to launch it through the command line, it is faster than looking for it and then brows

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

2017-08-14 Thread Craig Scott
This is a common problem, not just with CMake. I'm wondering if there's any real need for cmake-gui to be on the PATH at all, since it will usually be invoked by a desktop or menu icon. At the moment though, it is in the same directory as the cmake and ccmake executables which have a much stronger

[CMake] cmake-gui on windows and qt5 dlls

2017-08-14 Thread Christian Ehrlicher
Hi,   I recently upgraded from cmake 3.3 to 3.9 on windows and got some problems during my build because it looks like the pre-compile binaries for windows are now shipping Qt5 - dlls instead static compile libs (since 3.5 afaics). The problem is, that I had the path to cmake *before* the path t