glfs/lxqt/desktop/lxqt-qtplugin.xml
2024-02-19 11:36:33 -06:00

174 lines
4.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY lxqt-qtplugin-download-http "https://github.com/lxqt/lxqt-qtplugin/releases/download/&lxqt-version;/lxqt-qtplugin-&lxqt-version;.tar.xz">
<!ENTITY lxqt-qtplugin-download-ftp " ">
<!ENTITY lxqt-qtplugin-md5sum "b4cbfc3f9ba5acead1f887b47788135f">
<!ENTITY lxqt-qtplugin-size "24 KB">
<!ENTITY lxqt-qtplugin-buildsize "1.6 MB">
<!ENTITY lxqt-qtplugin-time "0.1 SBU">
]>
<sect1 id="lxqt-qtplugin" xreflabel="lxqt-qtplugin-&lxqt-version;">
<?dbhtml filename="lxqt-qtplugin.html"?>
<title>lxqt-qtplugin-&lxqt-version;</title>
<indexterm zone="lxqt-qtplugin">
<primary sortas="a-lxqt-qtplugin">lxqt-qtplugin</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to lxqt-qtplugin</title>
<para>
The <application>lxqt-qtplugin</application> package provides an
<application>LXQt</application> <application>Qt</application> platform
integration plugin.
</para>
&lfs121_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&lxqt-qtplugin-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&lxqt-qtplugin-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &lxqt-qtplugin-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &lxqt-qtplugin-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &lxqt-qtplugin-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &lxqt-qtplugin-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">lxqt-qtplugin Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="liblxqt"/> and
<xref linkend="libdbusmenu-qt"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of lxqt-qtplugin</title>
<para>
Install <application>lxqt-qtplugin</application> by running the following
commands:
</para>
<screen><userinput>mkdir -v build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
.. &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the &root; user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="configuration">
<title>Configuring lxqt-qtplugin</title>
<sect3><title>Configuration Information</title>
<para>
To use the plugin in Qt 5, the environment variable
<envar>QT_QPA_PLATFORMTHEME</envar> must be set to <quote>lxqt</quote>.
One way to do that is to issue as the &root; user:
</para>
<screen role="root"><userinput>cat &gt;&gt; /etc/profile.d/lxqt.sh &lt;&lt; "EOF"
<literal># Begin lxqt-qtplugin configuration
export QT_QPA_PLATFORMTHEME=lxqt
# End lxqt-qtplugin configuration</literal>
EOF</userinput></screen>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libqtlxqt.so (in $QT5DIR/plugins/platformthemes)
</seg>
<seg>
$QT5DIR/plugins/platformthemes
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libqtlxqt-lib">
<term><filename class="libraryfile">libqtlxqt.so</filename></term>
<listitem>
<para>
contains the LXQt QT plugin loader
</para>
<indexterm zone="lxqt-qtplugin libqtlxqt-lib">
<primary sortas="c-libqtlxqt">libqtlxqt.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>