Am Montag, 26. Februar 2018 17:49:03 CET schrieb Uwe Stöhr <uwesto...@web.de>: > Am 26.02.2018 um 16:26 schrieb Kornel Benko: > > For cmake in master (and in 2.3.x), the default is "AUTO". That is > > > > Check first for QT5 > > if not found, try with QT4 > > Hi Kornel, > > many thanks for having a look. > > I see, the problem is that in the first run I cannot specify > CMAKE_PREFIX_PATH > For the workflow is: > - start CMake and specify source and destination folder
Just to make clear ... you don't start cmake, but cmake-gui. I normally never use the gui, so I didn't see the problem. You could, for start, create the first CMakeCache.txt from a .bat file. Starting cmake from the build-dir and specifying needed values in the command- line should prepare for use later with cmake-gui. > - run CMake's configure > - I will be asked for a compiler and I select MSVC 2015 > > result: I get this error: ERROR: Could NOT find GNUWIN32, please set > GNUWIN32_DIR > > - I specify the GNUWIN32_DIR folder but cannot specify the > CMAKE_PREFIX_PATH, because this setting does not yet exist, see the > attached screenshot > - I run CMake's configure again > > result: now I get this error: > CMake Error at development/cmake/modules/FindQt4.cmake:1037 (message): > Qt qmake not found! > see also the second attached screenshot. So you can see CMake looks for > QT4 because I had no chance yet to specify CMAKE_PREFIX_PATH. > > - first now I can CMAKE_PREFIX_PATH and do so > - I note that LyX_USE_QT is set to "Qt4". Therefore I need to set it ti > "Qt5" to match the CMAKE_PREFIX_PATH > > result: now I get no longer an error and can run CMake's Generate > command and start the compilation. Yes, sorry for the trouble. > thanks and regards > Uwe Kornel
signature.asc
Description: This is a digitally signed message part.