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 |
|
---|
7 | <!-- ENTITY qt5pas-download-http "https://github.com/davidbannon/libqt5pas/archive/v&qt5pas-version;/libqt5pas-&qt5pas-version;.tar.gz" -->
|
---|
8 |
|
---|
9 | <!--
|
---|
10 | NOTE:
|
---|
11 | The url, size, md5sum is exactly same as in Lazarus as Qt5Pas
|
---|
12 | is included in the Lazarus source package.
|
---|
13 | It needs to be installed before Lazarus can be built based
|
---|
14 | on QT.
|
---|
15 | -->
|
---|
16 |
|
---|
17 | <!ENTITY lazarus-download-http "https://downloads.sourceforge.net/project/lazarus/Lazarus Zip _ GZip/Lazarus &lazarus-version;/lazarus-&lazarus-version;-0.tar.gz">
|
---|
18 | <!ENTITY lazarus-md5sum "&lazarus-chksum;">
|
---|
19 | <!ENTITY lazarus-size "&lazarus-pkgsize;">
|
---|
20 | <!ENTITY qt5pas-buildsize "2.5 MB">
|
---|
21 | <!ENTITY qt5pas-time "7 SBU">
|
---|
22 | ]>
|
---|
23 |
|
---|
24 | <sect1 id="qt5pas" xreflabel="qt5pas-&qt5pas-version;">
|
---|
25 | <?dbhtml filename="qt5pas.html"?>
|
---|
26 |
|
---|
27 | <title>qt5pas-&qt5pas-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="qt5pas">
|
---|
30 | <primary sortas="a-qt5pas">qt5pas</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to qt5pas</title>
|
---|
35 |
|
---|
36 | <para>
|
---|
37 | libqt5pas is an interface between Lazarus and the Qt5 libraries.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs121_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&lazarus-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download MD5 sum: &lazarus-md5sum;
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download size: &lazarus-size;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Estimated disk space required: &qt5pas-buildsize;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated build time: &qt5pas-time;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect3">qt5pas Dependencies</bridgehead>
|
---|
72 | <para role="required">
|
---|
73 | <xref linkend="fpc"/> and
|
---|
74 | <xref linkend="qt5"/>
|
---|
75 | </para>
|
---|
76 | <!--
|
---|
77 | <para condition="html" role="usernotes">User Notes:
|
---|
78 | <ulink url="&blfs-wiki;/qt5pas"/></para>
|
---|
79 | -->
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2 role="installation">
|
---|
83 | <title>Installation of qt5pas</title>
|
---|
84 |
|
---|
85 | <para>
|
---|
86 | The <application>qt5pas</application> package is included in
|
---|
87 | the <application>Lazarus</application> source package but it
|
---|
88 | needs to be built before Lazarus can be built with QT as
|
---|
89 | graphical interface libraries.</para>
|
---|
90 | <para>There is no need (no way) to specify the installation
|
---|
91 | target (as usually done by passing --prefix to configure).
|
---|
92 | Qt5pas will be installed in QT's library directory. Build the
|
---|
93 | package by running the following commands:
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <screen><userinput>cd lcl/interfaces/qt5/cbindings &&
|
---|
97 | qmake-qt5 "QT += x11extras" &&
|
---|
98 | make</userinput></screen>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | This package does not come with a test suite.
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | Now, install <application>qt5pas</application> as the
|
---|
106 | <systemitem class="username">root</systemitem> user:
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
110 |
|
---|
111 | </sect2>
|
---|
112 |
|
---|
113 | <sect2 role="content">
|
---|
114 | <title>Contents</title>
|
---|
115 |
|
---|
116 | <segmentedlist>
|
---|
117 | <segtitle>Installed Program</segtitle>
|
---|
118 | <segtitle>Installed Libraries</segtitle>
|
---|
119 | <segtitle>Installed Directories</segtitle>
|
---|
120 |
|
---|
121 | <seglistitem>
|
---|
122 | <seg>None</seg>
|
---|
123 | <seg>libQt5Pas.so</seg>
|
---|
124 | <seg>None</seg>
|
---|
125 | </seglistitem>
|
---|
126 | </segmentedlist>
|
---|
127 |
|
---|
128 | <variablelist>
|
---|
129 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
130 | <?dbfo list-presentation="list"?>
|
---|
131 | <?dbhtml list-presentation="table"?>
|
---|
132 |
|
---|
133 | <varlistentry id="qt5pas-lib">
|
---|
134 | <term><filename class="libraryfile">libQt5Pas.so</filename></term>
|
---|
135 | <listitem>
|
---|
136 | <para>
|
---|
137 | provides the QT bindings
|
---|
138 | </para>
|
---|
139 | <indexterm zone="qt5pas qt5pas-lib">
|
---|
140 | <primary sortas="b-qt5pas">qt5pas</primary>
|
---|
141 | </indexterm>
|
---|
142 | </listitem>
|
---|
143 | </varlistentry>
|
---|
144 |
|
---|
145 | </variablelist>
|
---|
146 |
|
---|
147 | </sect2>
|
---|
148 |
|
---|
149 | </sect1>
|
---|