[18d6eae2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[cb1d452] | 7 | <!ENTITY qscintilla-download-http "&sourceforge-repo;/pyqt/QScintilla_gpl-&qscintilla-version;.tar.gz">
|
---|
[18d6eae2] | 8 | <!ENTITY qscintilla-download-ftp " ">
|
---|
[cb1d452] | 9 | <!ENTITY qscintilla-md5sum "db260651a5e086cc4eee6417172e27e8">
|
---|
[79ba2ea] | 10 | <!ENTITY qscintilla-size "2.4 MB">
|
---|
[cb1d452] | 11 | <!ENTITY qscintilla-buildsize "25 MB (with documentation)">
|
---|
| 12 | <!ENTITY qscintilla-time "2.0 SBU (with documentation)">
|
---|
[18d6eae2] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="qscintilla" xreflabel="qscintilla-&qscintilla-version;">
|
---|
| 16 | <?dbhtml filename="qscintilla.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>QScintilla-gpl-&qscintilla-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="qscintilla">
|
---|
| 26 | <primary sortas="a-qscintilla">qscintilla</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to QScintilla</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>QScintilla</application> is a port to
|
---|
| 34 | <application>Qt</application> of <ulink
|
---|
| 35 | url="http://www.scintilla.org/">Scintilla</ulink>. As well as features
|
---|
| 36 | found in standard text editing components, it includes features
|
---|
| 37 | especially useful when editing and debugging source code: language
|
---|
| 38 | syntax styling, error indicators, code completion, call tips, code
|
---|
| 39 | folding, margins can contain markers like those used in debuggers to
|
---|
| 40 | indicate breakpoints and the current line, recordable macros, multiple
|
---|
| 41 | views and, of course, printing.
|
---|
| 42 | </para>
|
---|
| 43 |
|
---|
[be0a064] | 44 | &lfs79_checked;
|
---|
[18d6eae2] | 45 |
|
---|
| 46 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 47 |
|
---|
| 48 | <itemizedlist spacing="compact">
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download (HTTP): <ulink url="&qscintilla-download-http;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download (FTP): <ulink url="&qscintilla-download-ftp;"/>
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Download MD5 sum: &qscintilla-md5sum;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Download size: &qscintilla-size;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated disk space required: &qscintilla-buildsize;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>
|
---|
| 76 | Estimated build time: &qscintilla-time;
|
---|
| 77 | </para>
|
---|
| 78 | </listitem>
|
---|
| 79 | </itemizedlist>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect3">QScintilla Dependencies</bridgehead>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 84 | <para role="required">
|
---|
| 85 | <xref linkend="chrpath"/> and
|
---|
[cb1d452] | 86 | <xref linkend="qt5"/> (recommended) or
|
---|
[18d6eae2] | 87 | <xref linkend="qt4"/>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 91 | <para role="optional">
|
---|
| 92 | <ulink
|
---|
| 93 | url="http://riverbankcomputing.co.uk/software/pyqt/intro">PyQt</ulink>
|
---|
| 94 | (for <application>Python</application> <application>Qt</application>
|
---|
| 95 | bindings)
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <para condition="html" role="usernotes">
|
---|
| 99 | User Notes: <ulink url="&blfs-wiki;/qscintilla"/>
|
---|
| 100 | </para>
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
| 104 | <title>Installation of QScintilla</title>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | If <application>Qt4</application> and <application>Qt5</application> are
|
---|
| 108 | installed, choose which one you prefer, by running <command>source
|
---|
| 109 | setqt4</command> or <command>source setqt5</command>, respectivelly.
|
---|
| 110 | </para>
|
---|
| 111 |
|
---|
| 112 | <note>
|
---|
| 113 | <para>
|
---|
| 114 | The instructions in this page are just for the
|
---|
| 115 | <application>QScintilla</application> application. Code is included in
|
---|
| 116 | the tarball for <application>QScintilla Qt Designer</application>
|
---|
| 117 | plugin and <application>Python</application> bindings.
|
---|
| 118 | </para>
|
---|
| 119 | </note>
|
---|
| 120 |
|
---|
| 121 | <para>
|
---|
| 122 | Install <application>QScintilla</application> by running the following
|
---|
| 123 | commands:
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <screen><userinput>cd Qt4Qt5 &&
|
---|
| 127 | qmake qscintilla.pro &&
|
---|
| 128 | make</userinput></screen>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
| 131 | This package does not come with a test suite.
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
[cb1d452] | 138 | <screen role="root"><userinput>make install &&
|
---|
| 139 |
|
---|
| 140 | ln -sfv libqscintilla2.so.12.0.1 $QT5DIR/lib/libqt5scintilla2.so &&
|
---|
| 141 | ln -sfv libqscintilla2.so.12.0.1 $QT5DIR/lib/libqt5scintilla2.so.12</userinput></screen>
|
---|
[18d6eae2] | 142 |
|
---|
[79ba2ea] | 143 | <para>
|
---|
| 144 | If you wish to install the documentation, issue, as the <systemitem
|
---|
| 145 | class="username">root</systemitem> user:
|
---|
| 146 | </para>
|
---|
| 147 |
|
---|
[edbe5c0] | 148 | <screen role="root"><userinput>install -v -m755 -d $QT5DIR/share/doc/QScintilla-&qscintilla-version;/html &&
|
---|
[79ba2ea] | 149 | install -v -m644 ../doc/html-Qt4Qt5/* \
|
---|
[edbe5c0] | 150 | $QT5DIR/share/doc/QScintilla-&qscintilla-version;/html</userinput></screen>
|
---|
[79ba2ea] | 151 |
|
---|
| 152 | <para>
|
---|
[cb1d452] | 153 | When building with
|
---|
| 154 | <application>Qt4</application>, replace <envar>QT5DIR</envar> with
|
---|
[79ba2ea] | 155 | <envar>QT4DIR</envar>.
|
---|
| 156 | </para>
|
---|
| 157 |
|
---|
[cb1d452] | 158 | </sect2>
|
---|
| 159 | <sect2 role="commands">
|
---|
| 160 | <title>Command Explanations</title>
|
---|
| 161 |
|
---|
| 162 | <para>
|
---|
| 163 | <command>ln -sfv ...</command>: These commands create compatibility
|
---|
| 164 | symlinks needed by some programs.
|
---|
| 165 | </para>
|
---|
| 166 |
|
---|
[18d6eae2] | 167 | </sect2>
|
---|
| 168 |
|
---|
| 169 | <sect2 role="content">
|
---|
| 170 | <title>Contents</title>
|
---|
| 171 |
|
---|
| 172 | <segmentedlist>
|
---|
| 173 | <segtitle>Installed Programs</segtitle>
|
---|
| 174 | <segtitle>Installed Libraries</segtitle>
|
---|
| 175 | <segtitle>Installed Directories</segtitle>
|
---|
| 176 |
|
---|
| 177 | <seglistitem>
|
---|
| 178 | <seg>
|
---|
| 179 | None
|
---|
| 180 | </seg>
|
---|
| 181 | <seg>
|
---|
| 182 | $QT5DIR/lib/libqt5scintilla2.so or $QT4DIR/lib/libqtscintilla2.so
|
---|
| 183 | </seg>
|
---|
| 184 | <seg>
|
---|
[edbe5c0] | 185 | $QT5DIR/{include/Qsci,qsci,share/doc/QScintilla-&qscintilla-version;}/html
|
---|
[79ba2ea] | 186 | or
|
---|
[edbe5c0] | 187 | $QT4DIR/{include/Qsci,qsci,share/doc/QScintilla-&qscintilla-version;}/html
|
---|
[18d6eae2] | 188 | </seg>
|
---|
| 189 | </seglistitem>
|
---|
| 190 | </segmentedlist>
|
---|
| 191 |
|
---|
| 192 | <variablelist>
|
---|
| 193 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 194 | <?dbfo list-presentation="list"?>
|
---|
| 195 | <?dbhtml list-presentation="table"?>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="libqt5scintilla2">
|
---|
| 198 | <term><filename class="libraryfile">libqt5scintilla2.so</filename></term>
|
---|
| 199 | <listitem>
|
---|
| 200 | <para>
|
---|
| 201 | contains the <application>QScintilla</application>
|
---|
| 202 | <application>Qt5</application> API functions.
|
---|
| 203 | </para>
|
---|
| 204 | <indexterm zone="qscintilla libqt5scintilla2">
|
---|
| 205 | <primary sortas="c-libqt5scintilla2">libqt5scintilla2.so</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | <varlistentry id="libqscintilla2">
|
---|
| 211 | <term><filename class="libraryfile">libqscintilla2.so</filename></term>
|
---|
| 212 | <listitem>
|
---|
| 213 | <para>
|
---|
| 214 | contains the <application>QScintilla</application>
|
---|
| 215 | <application>Qt4</application> API functions.
|
---|
| 216 | </para>
|
---|
| 217 | <indexterm zone="qscintilla libqscintilla2">
|
---|
| 218 | <primary sortas="c-libqscintilla2">libqscintilla2.so</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | </variablelist>
|
---|
| 224 |
|
---|
| 225 | </sect2>
|
---|
| 226 |
|
---|
| 227 | </sect1>
|
---|