KSane
KSane
Introduction
SANE Library Qt-based interface
Authors
See AUTHORS file for details.
About
Libksane is a Qt-based interface for SANE library to control flat scanners.
The library documentation is available on header files.
Dependencies
- CMake >= 3.16.0 https://cmake.org
- Qt >= 5.15.2 https://qt.io
- KDE Frameworks >= 5.90.0 https://www.kde.org
- KSaneCore from same KDE Gear https://invent.kde.org/libraries/ksanecore
Install
In order to compile, just use something like this:
export VERBOSE=1
export QTDIR=/usr/lib/qt5/
export PATH=$QTDIR/bin:$PATH
cd path/to/libksane
mkdir build && cd build
cmake ..
make
Usual CMake options:
Option | Description |
---|---|
DCMAKE_INSTALL_PREFIX | decide where the program will be install on your computer. |
DCMAKE_BUILD_TYPE | decide which type of build you want. You can choose between Debug , Release , RelWithDebInfo and MinSizeRel . The default is RelWithDebInfo (-O2 -g ). |
More details can be found at this url: https://community.kde.org/Guidelines_and_HOWTOs/CMake
Note: To know the KDE Frameworks install path on your computer, use kf5-config --prefix
command line like this (with full debug object enabled):
cmake . -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.