libdbusmenu-qt-0.9.3+15.10.20150604

Introduction to libdbusmenu-qt

This library provides a Qt implementation of the DBusMenu specification that exposes menus via DBus. Its libraries are used by both KDE4 and KF5, but they must be linked to Qt-4.8.7 and Qt-5.5.1 respectively. The two versions do not conflict with each other.

This package is known to build and work properly using an LFS-7.9 platform.

Package Information

libdbusmenu-qt Dependencies

Required

Qt-4.8.7 or Qt-5.5.1

Optional

QJson-0.8.1 (for building the test suite) and Doxygen-1.8.11 (for building the API documentation)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libdbusmenu-qt

Installation of libdbusmenu-qt

Install the qt4 based version of libdbusmenu-qt by running the following commands:

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      -DUSE_QT4=TRUE              \
      -DWITH_DOC=OFF              \
      -Wno-dev .. &&
make

To test the results (QJson-0.8.1 must be installed), issue: make -k check. One test is known to fail.

Now, as the root user:

make install

Install the qt5 based version of libdbusmenu-qt by running the following commands:

[Note]

Note

If building both versions of this application, be sure to remove the previous version of the source and reextract them from the original tar file.

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      -DWITH_DOC=OFF              \
      -Wno-dev .. &&
make

The qt5 version of this package does not have a working test suite.

Now, as the root user:

make install

Command Explanations

-DCMAKE_BUILD_TYPE=Release: This switch is used to build without debugging symbols and apply a higher level of compiler optimizations.

-DUSE_QT4=TRUE: This switch is used to ensure that Qt4 version of the library is built even if Qt5 is present.

-DWITH_DOC=OFF: This option is set to avoid building the API documentation. Omit it if you have doxygen installed and want the documentation.

Contents

Installed Programs: None
Installed Library: libdbusmenu-qt.so and libdbusmenu-qt5.so
Installed Directory: /usr/include/dbusmenu-qt and /usr/include/dbusmenu-qt5

Last updated on 2016-02-24 19:22:02 -0800