Warning, /graphics/libksane/README.md is written in an unsupported language. File is not indexed.

0001 # KSane
0002 
0003 ## Introduction
0004 
0005 SANE Library Qt-based interface
0006 
0007 ## Authors
0008 
0009 See AUTHORS file for details.
0010 
0011 ## About
0012 
0013 Libksane is a Qt-based interface for SANE library to control flat scanners.
0014 
0015 The library documentation is available on header files.
0016 
0017 ## Dependencies
0018 
0019  - CMake          >= 3.16.0                https://cmake.org
0020  - Qt             >= 5.15.2                https://qt.io
0021  - KDE Frameworks >= 5.90.0                https://www.kde.org
0022  - KSaneCore      from same KDE Gear       https://invent.kde.org/libraries/ksanecore
0023 
0024 ## Install
0025 
0026 In order to compile, just use something like this:
0027 
0028 ```bash
0029 export VERBOSE=1
0030 export QTDIR=/usr/lib/qt5/
0031 export PATH=$QTDIR/bin:$PATH
0032 cd path/to/libksane
0033 mkdir build && cd build
0034 cmake ..
0035 make
0036 ```
0037 
0038 Usual CMake options:
0039 
0040 | Option                | Description |
0041 | -------               | ----------- |
0042 | DCMAKE_INSTALL_PREFIX | decide where the program will be install on your computer. |
0043 | 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`). |
0044 
0045 More details can be found at this url: https://community.kde.org/Guidelines_and_HOWTOs/CMake
0046 
0047 Note: To know the KDE Frameworks install path on your computer, use `kf5-config --prefix` command line like this (with full debug object enabled):
0048 
0049 ```bash
0050 cmake . -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
0051 ```