source: general/prog/qt5pas.xml@ 8163ea8f

lazarus
Last change on this file since 8163ea8f was 8163ea8f, checked in by Thomas Trepl (Moody) <thomas@…>, 2 years ago

Upgrade to Lazarus-2.2.0 and simplify instructions

  • Property mode set to 100644
File size: 4.3 KB
Line 
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 "c47680c84192008af1d05aa42b58c1da">
19 <!ENTITY lazarus-size "73.2 MB">
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 <sect1info>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>qt5pas-&qt5pas-version;</title>
32
33 <indexterm zone="qt5pas">
34 <primary sortas="a-qt5pas">qt5pas</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to qt5pas</title>
39
40 <para>
41 libqt5pas is an interface between Lazarus and the Qt5 libraries.
42 </para>
43
44 &lfs110a_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&lazarus-download-http;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &lazarus-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &lazarus-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &qt5pas-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &qt5pas-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">qt5pas Dependencies</bridgehead>
76 <para role="required">
77 <xref linkend="fpc"/> and
78 <xref linkend="qt5"/>
79 </para>
80
81 <para condition="html" role="usernotes">User Notes:
82 <ulink url="&blfs-wiki;/qt5pas"/></para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of qt5pas</title>
88
89 <para>
90 The <application>qt5pas</application> package is included in
91 the <application>Lazarus</application> source package but it
92 needs to be built before Lazarus can be built with QT as
93 graphical interface libraries.</para>
94 <para>There is no need (no way) to specify the installation
95 target (as usually done by passing --prefix to configure).
96 Qt5pas will be installed in QT's library directory. Build the
97 package by running the following commands:
98 </para>
99
100<screen><userinput>cd lcl/interfaces/qt5/cbindings &amp;&amp;
101qmake-qt5 "QT += x11extras" &amp;&amp;
102make</userinput></screen>
103
104 <para>
105 This package does not come with a test suite.
106 </para>
107
108 <para>
109 Now, install <application>qt5pas</application> as the
110 <systemitem class="username">root</systemitem> user:
111 </para>
112
113<screen role="root"><userinput>make install</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="content">
118 <title>Contents</title>
119
120 <segmentedlist>
121 <segtitle>Installed Program</segtitle>
122 <segtitle>Installed Libraries</segtitle>
123 <segtitle>Installed Directories</segtitle>
124
125 <seglistitem>
126 <seg>None</seg>
127 <seg>libQt5Pas.so</seg>
128 <seg>None</seg>
129 </seglistitem>
130 </segmentedlist>
131
132 <variablelist>
133 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
134 <?dbfo list-presentation="list"?>
135 <?dbhtml list-presentation="table"?>
136
137 <varlistentry id="qt5pas-lib">
138 <term><filename class="libraryfile">libQt5Pas.so</filename></term>
139 <listitem>
140 <para>
141 provides the QT bindings
142 </para>
143 <indexterm zone="qt5pas qt5pas-lib">
144 <primary sortas="b-qt5pas">qt5pas</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 </variablelist>
150
151 </sect2>
152
153</sect1>
Note: See TracBrowser for help on using the repository browser.