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.
Download (HTTP): http://anduin.linuxfromscratch.org/BLFS/other/libdbusmenu-qt-0.9.3+15.10.20150604.tar.xz
Download MD5 sum: d21a1f5569e0bc9c9245b4f71761c62f
Download size: 40 KB
Estimated disk space required: 2.6 MB
Estimated build time: 0.2 SBU
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
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:
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
-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.
Last updated on 2016-02-24 19:22:02 -0800