Qalculate Original

Plasma 5 Applets

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/dschopf/plasma-applet-qalculate

3
Score 77.5%
Description:

A calculator plasma widget which uses the Qalculate! library to provide lots of features like unit calculation or currency conversion.

In order to install this widget the Qalculate! library is required. Get it at https://qalculate.github.io

Precompiled packages as well as install instructions can be found on the github page https://github.com/dschopf/plasma-applet-qalculate
Last changelog:

Plasma Applet Qalculate v0.8.2 1 month ago

Bugfix for issues on Ubuntu

emezeta

2 years ago

123

Report

9

sombragris

2 years ago

Usually whenever libqalculate was upgraded, all that I had to do is to recompile the plasmoid. However, after I upgraded libqalculate to 2.0 and recompiling the plasmoid, I was unable to start plasmashell; there was a "malloc(): memory corruption" message even. I was able to get plasmashell starting again after removing the plasmoid.

The moral of the story is, that plasmoid 0.3x and libqalculate 2.0 do not seem to like each other.

Report

C

dschopf

2 years ago

I uploaded a new experimental version to github which should support libqalculate v2.0.0 much better.

https://github.com/dschopf/qalculate/archive/libqalculate-2.0-fix.zip

Report

9

sombragris

2 years ago

Thank you! I just used qalculate 0.4 and it works like a charm!

Report

C

dschopf

2 years ago

Are you sure this issue is related to the plasmoid? I have upgraded two different machines to libqalculate 2.0 and both are working fine.

You can use "plasmoidviewer --applet org.kde.plasma.qalculate" to run it separately from KDE and see some debug messages in the konsole.

Report

9

sombragris

3 years ago

No problems compiling and installing 0.3. Great update. Thanks!!

Report

9

sombragris

3 years ago

Thanks!! however, I cannot build 0.2

This is the relevant compiler output:

[ 66%] Building CXX object plugin/CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o
/home/eduardo/Downloads/build/qalculate-0.2/plugin/qwrapper.cpp: In constructor ‘QWrapper::QWrapper(QObject*)’:
/home/eduardo/Downloads/build/qalculate-0.2/plugin/qwrapper.cpp:46:31: error: ‘bind’ is not a member of ‘std’
m_thread = std::thread(std::bind(&QWrapper::worker, this));
^~~~
/home/eduardo/Downloads/build/qalculate-0.2/plugin/qwrapper.cpp:46:31: note: suggested alternative: ‘find’
m_thread = std::thread(std::bind(&QWrapper::worker, this));
^~~~
find
make[2]: *** [plugin/CMakeFiles/plasmoidplugin.dir/build.make:87: plugin/CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:156: plugin/CMakeFiles/plasmoidplugin.dir/all] Error 2
make: *** [Makefile:139: all] Error 2

Report

9

sombragris

3 years ago

Just opened an isse on the github project page about this.

Report

C

dschopf

3 years ago

This issue has been fixed in v0.2.1.

Report

9

sombragris

3 years ago

Indeed! THanks!!

Report

9

mzsgmailcom

3 years ago

Can you please add a pre-compiled version, so it can be installed via GHNS?
I really missed this applet from KDE4

Report

HalfTough

3 years ago

When I try using "cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
I got an error

"CMake Error at CMakeLists.txt:10 (find_package):
Could not find a package configuration file provided by "ECM" with any of
the following names:

ECMConfig.cmake
ecm-config.cmake

Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
to a directory containing one of the above files. If "ECM" provides a
separate development package or SDK, be sure it has been installed."

Report

C

dschopf

3 years ago

You probably are missing the Extra CMake Modules (ECM) package.
Just search your package manager for "ecm" or "extra cmake modules" and the
installation should be pretty easy and straightforward.

Report

9

sombragris

3 years ago

I have libqalculate installed but I cannot install this plasmoid. How can I do this?

Report

C

dschopf

3 years ago

I just added install instuctions to the description. If that doesn't work for you please let me know.

Report

9

sombragris

3 years ago

Thank you! Worked very well. I use it on the panel so I would suggest the following: a) change the icon (it's a sore bleed among the Plasma/Breeze minimalism) or either replace the panel version of the widget with a small input box to directly input expressions. Thanks!!

Report

C

dschopf

3 years ago

Using an input box as a widget seems to be rather difficult and not
properly supported by KDE. I will look into making the icon
configurable.

Report

avlas

3 years ago

I missed this widget so much... Thanks for the good work!

Report

Plasma Applet Qalculate v0.8.2 1 month ago

Bugfix for issues on Ubuntu

Plasma Applet Qalculate v0.8.1 1 month ago

The new release brings improved support for the input history as well as some bug fixes.

v0.7 7 months ago

Some new features related to currency conversion and better input handling.

v0.6.1 1 year ago

Bugfix release which fixes some build issues as well as a crash.

v0.6 1 year ago

Changes include:

- support for launching a program from the widget
- fix for not working input history
- fix for wrong currency update timestamp in the option screen

v0.5 1 year ago

- add context menu for copying the results to the clipboard
- fix issues with applet size in recent KDE versions
- fix issues with image/logo in recent KDE versions
- add support for negative two's complement representation (this feature requires libqalculate v2.5 or later)

v0.4.0 2 years ago

- add support for libqalculate v2.0.0
- change license to MIT
- bump copyright to 2017
- add .clang-format file for C++ plugin and format accordingly

v0.3 3 years ago

New features:
Add support for history, which can be disabled in the options
Bug fixes:
create only a single C++ wrapper object

v0.2.1 3 years ago

fixed compile issues

v0.2 3 years ago

- make icon configurable
- add busy indicator
- make calculations run in background
- require at least libqalculate-0.9.8

12345678910
71
product-maker RogueScholar Jan 09 2020 9 excellent
9 excellent
product-maker Murz Jun 03 2019 10 the best
10 the best
product-maker xpt Jun 07 2018 9 excellent
+
product-maker floorek Aug 06 2017 9 excellent
product-maker sombragris May 10 2017 9 excellent
product-maker WIP42 Mar 30 2017 9 excellent
product-maker mzsgmailcom Mar 14 2017 9 excellent
product-maker obedlink Oct 10 2016 9 excellent
product-maker Base: 4 x 5.0 Ratings
RogueScholar
Jan 09 2020
Murz
Jul 03 2019
floorek
Jun 03 2018
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
MIT License
version
0.8.2
updated Jun 06 2020
added Sep 28 2016
downloads 24h
11
mediaviews 24h 0
pageviews 24h 14