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.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://download.kde.org/stable/apps/KDE4.x/admin/polkit-qt-1-0.112.0.tar.bz2
Download (FTP): ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/polkit-qt-1-0.112.0.tar.bz2
Download MD5 sum: bee71b71c12797e6fc498540a06c829b
Download size: 68 KB
Estimated disk space required: 4.2 MB
Estimated build time: 0.1 SBU
CMake-3.4.3, Polkit-0.113, and Qt-4.8.7 or Qt-5.5.1
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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 Qt5 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
-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.
Last updated on 2016-02-24 19:22:02 -0800