Introduction to Polkit-Qt

Polkit-Qt provides an API to polkit in the Qt environment.

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

Package Information

Polkit-Qt Dependencies


Automoc4-0.9.88 and Polkit-0.112

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

Installation of Polkit-Qt

Install Polkit-Qt by running the following commands:

mkdir build &&
cd    build &&

      -DCMAKE_BUILD_TYPE=Release       \
      -DCMAKE_INSTALL_LIBDIR=lib       \
      -DUSE_QT4=TRUE                   \
      -Wno-dev .. &&

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.


Installed Programs: none
Installed Libraries: libpolkit-qt-agent-1.so, libpolkit-qt-core-1.so and libpolkit-qt-gui-1.so
Installed Directories: $KDE_PREFIX/include/polkit-qt-1

Last updated on 2014-08-24 11:34:04 -0700