File: README.md

package info (click to toggle)
libkf5sane 20.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,596 kB
  • sloc: cpp: 9,261; sh: 11; makefile: 4
file content (43 lines) | stat: -rw-r--r-- 1,279 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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.0.0                 https://cmake.org
Qt             >= 5.7.0                 https://qt.io
KDE Frameworks >= 5.55.0                https://www.kde.org
libsane        >= 1.0.18                http://www.sane-project.org

## Install

In order to compile just use something like that:

# export VERBOSE=1
# export QTDIR=/usr/lib/qt5/
# export PATH=$QTDIR/bin:$PATH 
# cmake .
# make

Usual CMake options:

-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 chose 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`"