Description: qalculatorrunner adds support for doing mathematical computations via qalculate in krunner. The functionality is very similar to the default calculator runner.
Qalculate offers arbitrary precision calculations and will solve certain algebraic equations. It also offers symbolic computation for exact results--a large improvement over the default calculator runner.
*** INSTALL ***
Before you build qalculatorrunner, you must have the qalc program from libqalculate (http://qalculate.sourceforge.net/) in $PATH.
To build the qalculate runner, go to the root kdebase-workspace-4.2.4-qalculate folder and run
> cmake . > cd plasma/runners/qalculator > make
To install, copy the krunner_qalculatorrunner.so from the kdebase-workspace-4.2.4-qalculate/lib to your kde4 lib directory. For example
Qalculate results should appear next time you run krunner :-).
*** DOC ***
qalculatorrunner invokes the qalc command from libqalculate for all expressions involving an '=' character. Two results are returned, one that is always approximated in decimal and one that is always in exact form. qalc is called with 100 places of percision, though only 26 are shown.
All right, this looks like an awesome utility, but I can't get it to install under Kubuntu Jaunty. I installed the cmake package, but when I run "cmake ." from the source directory, I get the following error:
scott@aristotle:~/Downloads/kdebase-workspace-4.2.4-qalculate$ cmake .
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/scott/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:19 (find_package)
Any idea what I'm doing wrong?
Ok, solved my own problem. For anyone else who's using Kubuntu, make sure you have the following packages installed:
libqimageblitz-dev
libphonon-dev
libplasma-dev
kdelibs5-dev
cmake
qalculate-kde
After installing those packages, the above instructions worked fine. If you're still having trouble, check out this thread:
http://ubuntuforums.org/showthread.php?t=718183
Great app by the way, I've been looking for something like this for a while.
Ratings & Comments
3 Comments
All right, this looks like an awesome utility, but I can't get it to install under Kubuntu Jaunty. I installed the cmake package, but when I run "cmake ." from the source directory, I get the following error: scott@aristotle:~/Downloads/kdebase-workspace-4.2.4-qalculate$ cmake . CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/scott/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps Call Stack (most recent call first): CMakeLists.txt:19 (find_package) Any idea what I'm doing wrong?
Ok, solved my own problem. For anyone else who's using Kubuntu, make sure you have the following packages installed: libqimageblitz-dev libphonon-dev libplasma-dev kdelibs5-dev cmake qalculate-kde After installing those packages, the above instructions worked fine. If you're still having trouble, check out this thread: http://ubuntuforums.org/showthread.php?t=718183 Great app by the way, I've been looking for something like this for a while.
I'm glad you like it :-).