Kchmviewer-for-Maemo is a project mainly written in C++ and C, based on the GPL-3.0 license.
kchmviewer ported to Maemo platform
OVERVIEW
KchmViewer is a chm (MS HTML help file format) viewer, written in C++. Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget library, and does not depend on KDE or Gnome. It has full KDE4 support.
The main advantage of KchmViewer is extended support for non-English languages. Unlike others, KchmViewer in most cases correctly detects chm file encoding, correctly shows tables of context of Russian, Korean, Chinese and Japanese help files. It also correctly searches text in non-English help files, including Korean, Chinese and Japanese.
KchmViewer is written by Georgy Yunaev ([email protected]), and is licensed under GNU GPL license. Please do NOT use this email for bug reporting; see below.
FEATURES
INSTALLATION
Usually kchmviewer is distributed in source code archive, so you need to compile it first. It requires Qt version 4.4 or higher. Note that you need to install qt4-devel and qt4-tools packages (the last one might be included in qt4-devel in your distribution), not just qt package.
Also make sure you have chmlib-devel (some distros have it as libchm-devel) package installed. KDE build will check for its presense, but qmake does not have necessary functionality to do so. If you are getting errors regarding missing chm_lib.h file this means chmlib-devel is not installed.
3.1. Qt-only version
To compile Qt-only version of kchmviewer, follow the procedure:
tar zxf kchmviewer-
.tar.gz cd kchmviewer- qmake make
The compiled binary is in bin/kchmviewer. You could copy it somewhere, or use it as-is. It does not require installation.
If QtWebKit module is not found, you will get the following error:
kchmviewwindow_qtwebkit.h:25:21: error: QWebView: No such file or directory
Either install QtWebKit module, or remove "webkit" from QT+= line in src/src.pro
3.2 KDE4 version
To compile the version of kchmviewer with KDE4 support, follow the procedure:
tar zxf kchmviewer-
.tar.gz mkdir build cd build cmake .. make sudo make install
For KDE version the installation is required, since the KHTML KIO slave cannot be used in place.
USAGE
Usage of kchmviewer is simple:
kchmviewer mychmfile.chm
for the rest of command-line options, see kchmviewer --help
BUG REPORTING
Please use [email protected] for bug reporting.
THANKS
Thanks to:
LICENSE
kchmviewer is distributed under GNU GPL license. Copyright (C) 2004-2007 Georgy (George) Yunaev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA