Updates
[texmacs.git] / doc / web / download / winqt.en.tm
blobf446736758e895f014e5e0eb9482fffd02cb40db
1 <TeXmacs|1.0.7.3>
3 <style|tmweb>
5 <\body>
6   <tmweb-current|Download|Windows><tmweb-title|Compiling Qt-<TeXmacs> under
7   <name|Windows>|<tmweb-download-links>>
9   <section|Download and install the build environment><label|install>
11   In order to compile <TeXmacs> under <name|Windows>, you need <name|Qt>,
12   <name|MinGW> and a certain number of libraries. We have simplified the
13   installation procedure for these dependencies by creating a single zip-file
14   which contains all necessary stuff. Thus, you first have to download (462
15   Mb)
17   <\quote-env>
18     <hlink|<verbatim|ftp://ftp.texmacs.org/pub/TeXmacs/windows/qt/TmBuildEnv.zip>|ftp://ftp.texmacs.org/pub/TeXmacs/windows/qt/TmBuildEnv.zip>
19   </quote-env>
21   This file must be uncompressed in the directory <verbatim|C:\\>.
22   Uncompression in other directories is not supported. Copy the file
23   <verbatim|C:\\TmBuildEnv\\MSYS\\MSYS.lnk> to your desktop.
25   <section|Download <TeXmacs>>
27   Click on the <verbatim|MSYS> icon on your desktop in order to launch a Unix
28   terminal and fetch the latest <name|Svn> version of <TeXmacs> as follows:
30   <\shell-fragment>
31     mkdir ~/texmacs
33     cd ~/texmacs
35     svn co svn://svn.savannah.gnu.org/texmacs/trunk/src
37     svn co svn://svn.savannah.gnu.org/texmacs/trunk/doc
38   </shell-fragment>
40   You will also need to download the <TeXmacs> Windows fonts and uncompress
41   them in the directory <verbatim|~/texmacs/src/TeXmacs>:
43   <\shell-fragment>
44     cd ~/texmacs/src/TeXmacs
46     wget http://ftp.texmacs.org/TeXmacs/fonts/TeXmacs-windows-fonts-1.0-noarch.tar.gz
48     tar -zxvf TeXmacs-windows-fonts-1.0-noarch.tar.gz
49   </shell-fragment>
51   <section|Compile <TeXmacs>>
53   Go to the directory with the <TeXmacs> sources
55   <\shell-fragment>
56     cd ~/texmacs/src
57   </shell-fragment>
59   Configure using
61   <\shell-fragment>
62     ./configure --enable-qt \\
64     \ \ CPPFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib"
65   </shell-fragment>
67   Build <TeXmacs>
69   <\shell-fragment>
70     make WIN_BUNDLE
71   </shell-fragment>
73   Run
75   <\shell-fragment>
76     ~/texmacs/distr/TeXmacs-Windows/bin/texmacs.exe
77   </shell-fragment>
79   The first time you run <TeXmacs>, the program will crash. Subsequent runs
80   should work fine.
82   <section|Creation of an installer>
84   After building <TeXmacs>, you can create an installer using
86   <\shell-fragment>
87     cd ~/texmacs/src/misc/windows
89     iscc TeXmacs.iss
90   </shell-fragment>
92   The installer can be found at <verbatim|~/texmacs/distr/texmacs-installer.exe>.
94   <tmdoc-copyright|2010|David Michel|Massimiliano Gubinelli|Joris van der
95   Hoeven>
97   <tmweb-license>
98 </body>
100 <\initial>
101   <\collection>
102     <associate|language|english>
103   </collection>
104 </initial>