X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=INSTALL.Win32;h=f5d8b04e4113f85c31adbc09ae029b2db15ffc2f;hb=e3625b5b8052e75e8741152bdfd313b54969c675;hp=6a617a369d4b8d14d53c6a6db001d5ae9febb620;hpb=4d7fa5fab3dfe3fbc244e3bfc4a60996ac0d6047;p=lyx.git diff --git a/INSTALL.Win32 b/INSTALL.Win32 index 6a617a369d..f5d8b04e41 100644 --- a/INSTALL.Win32 +++ b/INSTALL.Win32 @@ -20,6 +20,8 @@ Compiling with Microsoft Visual C++ Download the latest Qt for Open Source C++ development on Windows (VS2015) from https://qt.io/download-open-source/ Qt 5.6.x is recommended, but 5.7.x or later versions should work as well. + Make sure that the bin subfolder of the Qt installation (e.g. + C:\Qt\Qt5.6.1\5.6\msvc2015\bin) is listed in the PATH environment variable. 3 Install Python @@ -32,7 +34,14 @@ Compiling with Microsoft Visual C++ 5 Configure - - Run the CMake GUI. + - Open the "Developer Command Prompt for VS2015" from the + "Visual Studio 2015\Visual Studio Tools" subfolder of the start menu. + Run the CMake GUI from the command window that was opened. + Alternatively, you can create a .bat file that first contains the line + call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 + and then calls the CMake GUI and use this .bat file to start CMake. + The MSVC 2015 command prompt or vcvarsall.bat set some environment + variables that are needed for CMake to find the compiler. - Set the source code path to C:\LyX\lyx-23 Set the build path to C:\LyX\lyx-23-build @@ -41,10 +50,6 @@ Compiling with Microsoft Visual C++ - Enable LYX_DEPENDENCIES_DOWNLOAD and click Configure. Pre-compiled dependencies will automatically be downloaded. - - Set QT_QMAKE_EXECUTABLE to e.g. - C:\Qt\qt-everywhere-opensource-src-5.6.1\bin\qmake.exe - and Configure again. - - Enable the LYX_INSTALL option, set CMAKE_INSTALL_PREFIX to C:\LyX\lyx-23-install and click Configure.