]> git.lyx.org Git - lyx.git/blobdiff - INSTALL.Win32
beamer.lyx: document the environment-split changes.
[lyx.git] / INSTALL.Win32
index b1b6a3083e47085a651eefade502a8da1e0b0079..f26925f4f61c9debaddc975898a3481b45e6bf63 100644 (file)
@@ -4,10 +4,18 @@ Compiling LyX 2.3 for Win32 and creating Windows installer
 It's recommended to compile LyX using Microsoft Visual C++ 2015 and CMake.
 
 
 It's recommended to compile LyX using Microsoft Visual C++ 2015 and CMake.
 
 
-Compiling with Microsoft Visual C++
+Compiling with Microsoft Visual C++ (MSVC)
 ===================================
 
 ===================================
 
-       These instructions assume the LyX source code is in C:\LyX\lyx-23
+       The easiest way to install LyX with MSVC is to follow this Wiki page:
+       
+       http://wiki.lyx.org/Windows/Compilation
+       
+       If you find there any errors please write a mail to the lyx-devel mailing list.
+       
+----------------------------------------------------------------------------
+       
+       The following instructions assume the LyX source code is in C:\LyX\lyx-23
        You can also use another directory if you prefer.
 
 1      Install MSVC 2015
        You can also use another directory if you prefer.
 
 1      Install MSVC 2015
@@ -44,7 +52,12 @@ Compiling with Microsoft Visual C++
 
        Install the latest CMake from http://www.cmake.org
 
 
        Install the latest CMake from http://www.cmake.org
 
-5      Configure
+5      Download dependencies
+
+       Download the LyX for Windows build dependencies from
+       ftp.lyx.de/LyXWinInstaller/lyx-windows-deps-msvc2015.zip
+
+6      Configure
 
        - Open the "Developer Command Prompt for VS2015" from the
          "Visual Studio 2015\Visual Studio Tools" subfolder of the start menu.
 
        - Open the "Developer Command Prompt for VS2015" from the
          "Visual Studio 2015\Visual Studio Tools" subfolder of the start menu.
@@ -64,23 +77,23 @@ Compiling with Microsoft Visual C++
 
        - Set LYX_USE_QT to QT5 and click Configure.
 
 
        - Set LYX_USE_QT to QT5 and click Configure.
 
-       - Enable LYX_DEPENDENCIES_DOWNLOAD and click Configure.
-         Pre-compiled dependencies will automatically be downloaded.
-         If you installed the dependencies manually, set GNUWIN32_DIR instead
-         to the folder that contains the dependencies and click Configure.
+       - Set GNUWIN32_DIR to the folder that contains the dependencies.
+         (This alternative does currently not work:
+          Enable LYX_DEPENDENCIES_DOWNLOAD and click Configure.
+          Pre-compiled dependencies will automatically be downloaded.)
 
        - Enable the LYX_INSTALL option and click Configure.
 
        - Click Generate.
 
 
        - Enable the LYX_INSTALL option and click Configure.
 
        - Click Generate.
 
-6      Compile
+7      Compile
 
        A Microsoft Visual C++ solution should have been generated at
        C:\LyX\lyx-23-build\lyx.sln
        Compile the INSTALL project to get a LyX installation in
        C:\LyX\lyx-23-build\LYX_INSTALLED.
 
 
        A Microsoft Visual C++ solution should have been generated at
        C:\LyX\lyx-23-build\lyx.sln
        Compile the INSTALL project to get a LyX installation in
        C:\LyX\lyx-23-build\LYX_INSTALLED.
 
-7      Copy dependencies
+8      Copy dependencies
 
        Copy
        - C:\LyX\lyx-23-build\msvc2015-deps\lyx-windows-deps-msvc2015\bin
 
        Copy
        - C:\LyX\lyx-23-build\msvc2015-deps\lyx-windows-deps-msvc2015\bin
@@ -94,12 +107,16 @@ Compiling with Microsoft Visual C++
        Qt5Core.dll
        Qt5Gui.dll
        Qt5Svg.dll
        Qt5Core.dll
        Qt5Gui.dll
        Qt5Svg.dll
+       Qt5Widgets.dll
+       Qt5WinExtras.dll
        Qt5Cored.dll (if compiling Debug version)
        Qt5Guid.dll (if compiling Debug version)
        Qt5Svgd.dll (if compiling Debug version)
        Qt5Cored.dll (if compiling Debug version)
        Qt5Guid.dll (if compiling Debug version)
        Qt5Svgd.dll (if compiling Debug version)
+       Qt5Widgetsd.dll (if compiling Debug version)
+       Qt5WinExtrasd.dll (if compiling Debug version)
        to C:\LyX\lyx-23-build\LYX_INSTALLED\bin
 
        to C:\LyX\lyx-23-build\LYX_INSTALLED\bin
 
-8      Define path prefix
+9      Define path prefix
 
        Add the following line to C:\LyX\lyx-23-build\LYX_INSTALLED\Resources\lyxrc.dist,
        so LyX will find the bundled tools such as Python, ImageMagick
 
        Add the following line to C:\LyX\lyx-23-build\LYX_INSTALLED\Resources\lyxrc.dist,
        so LyX will find the bundled tools such as Python, ImageMagick
@@ -110,7 +127,7 @@ Compiling with Microsoft Visual C++
        You may also add the location of your LaTeX installation if it's not on the
        system PATH, and the location of JabRef.
 
        You may also add the location of your LaTeX installation if it's not on the
        system PATH, and the location of JabRef.
 
-     Start LyX
+10     Start LyX
 
        C:\LyX\lyx-23-build\LYX_INSTALLED\bin\lyx.exe
 
 
        C:\LyX\lyx-23-build\LYX_INSTALLED\bin\lyx.exe
 
@@ -120,9 +137,7 @@ Creating the Installer
 
        - Get NSIS from http://nsis.sourceforge.net
        - In the LyX source directory, go to development\Win32\packaging\installer
 
        - Get NSIS from http://nsis.sourceforge.net
        - In the LyX source directory, go to development\Win32\packaging\installer
-       - Copy the 3 dll-files from there to the DLL folder of the NSIS installation
-       - Check whether the file locations/paths in settings.nsh match your setup.
-       - Right-click on lyx.nsi and click "Compile NSIS Script".
+       - Follow the steps in the file Readme.txt
 
 
 Compiling with GCC with MinGW64 + MSYS2 Environment using autotools
 
 
 Compiling with GCC with MinGW64 + MSYS2 Environment using autotools