Polkit-Qt-0.112.0

Introduction to Polkit-Qt

Polkit-Qt provides an API to PolicyKit in the Qt environment. Its libraries are used by both KDE4 and KF5, but they must be linked to Qt-4.8.7 and Qt-5.4.2 respectively. The two versions to not conflict with each other.

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

This package is known to build and work properly using the gcc-5 compiler.

Package Information

Polkit-Qt Dependencies

Required

CMake-3.2.3, Polkit-0.112, and Qt-4.8.7 or Qt-5.4.2

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

Installation of Polkit-Qt

Install the qt4 based version of Polkit-Qt by running the following commands:

source /usr/bin/setqt4 &&

mkdir build &&
cd    build &&

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

This package does not come with a test suite.

Now, as the root user:

make install

Install the qt4 based version of Polkit-Qt by running the following commands:

source /usr/bin/setqt5 &&

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      -DCMAKE_INSTALL_LIBDIR=lib  \
      -Wno-dev .. &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

-DCMAKE_BUILD_TYPE=Release: This switch is used to apply higher level of the compiler optimizations.

-DCMAKE_INSTALL_LIBDIR=lib: This switch is used to get libraries to install to $KDE_PREFIX/lib instead of $KDE_PREFIX/lib64 on a 64 bit system.

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

Contents

Installed Programs: none
Installed Libraries: libpolkit-qt-agent-1.so, libpolkit-qt5-agent-1.so, libpolkit-qt-core-1.so, libpolkit-qt5-core-1.so, libpolkit-qt-gui-1.so, and libpolkit-qt5-gui-1.so
Installed Directories: /usr/include/polkit-qt-1, /usr/include/polkit-qt5-1, /usr/lib/cmake/PolkitQt-1, and /usr/lib/cmake/PolkitQt5-1

Last updated on 2015-06-29 01:36:57 +0000