
Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/dschopf/plasma-applet-qalculate
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
Plasma Applet Qalculate v0.8.4 3 days ago
With KDE Plasma 5.21 the icon aspect-ration in the panel was not correct anymore, this has been fixed.
Additionally the translations should be working again with recent versions of KDE as well.
Plasma Applet Qalculate v0.8.4 3 days ago
With KDE Plasma 5.21 the icon aspect-ration in the panel was not correct anymore, this has been fixed.
Additionally the translations should be working again with recent versions of KDE as well.
Plasma Applet Qalculate v0.8.3 2 months ago
This is a bugfix release for the default currency selection. It also enables unicode characters by default.
Plasma Applet Qalculate v0.8.2 8 months ago
Bugfix for issues on Ubuntu
Plasma Applet Qalculate v0.8.1 9 months ago
The new release brings improved support for the input history as well as some bug fixes.
v0.7 1 year 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 3 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
svc123
2 months ago
Most difficult addon to install (after 50 KDE OS barebone installs of 10 different distros). Use PPA or AUR if you're lucky.
Report
dschopf
1 month ago
Report
RogueScholar
1 year ago
Report
crossmax
1 year ago
I've installed with ocs but I can't see the applet if I try to add it to the panel. I've selected add graphic element to panel but QCalculate not seems available. How I can add to panel (Task manager or whatever named is)? Thanks
Report
dschopf
1 year ago
Report
crossmax
1 year ago
*Needs ocs-url or ocs-store to install things"
Report
dschopf
1 year ago
Report
Murz
1 year ago
Report
Cherkah
1 year ago
can you put a link in the ui to get quickly acces to the GTK-UI. ?
e.g. clik on the picture logo will launch the app!
regards
Report
dschopf
1 year ago
Report
Cherkah
1 year ago
sorry for my english...
Report
dschopf
1 year ago
Can you check if this meets your requirements?
Report
Cherkah
1 year ago
Report
xpt
2 years ago
Report
dschopf
2 years ago
Maybe you could open an issue on Github with some more details like which distribution, compiler and KDE version you are using.
Report
xpt
2 years ago
Report
sombragris
2 years ago
Report
sombragris
2 years ago
Report
dschopf
2 years ago
The error message you receive looks like an ABI incompatibility between libqalculate and the plugin.
If possible please open a bug report on the Github page, which is much better suited to discuss such issues.
Report
sombragris
2 years ago
[100%] Linking CXX shared library libplasmoidplugin.so
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::updateExchangeRates()':
qwrapper.cpp:(.text+0x4af): undefined reference to `Calculator::getExchangeRatesUrl[abi:cxx11](int)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::printResultInBase(MathStructure&, std::pair&)':
qwrapper.cpp:(.text+0x1720): undefined reference to `Calculator::print[abi:cxx11](MathStructure const&, int, PrintOptions const&)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::runCalculation(std::__cxx11::basic_string, std::allocator > const&)':
qwrapper.cpp:(.text+0x1a6a): undefined reference to `Calculator::calculate(MathStructure*, std::__cxx11::basic_string, std::allocator >, int, EvaluationOptions const&, MathStructure*, MathStructure*, bool)'
qwrapper.cpp:(.text+0x1ab8): undefined reference to `Calculator::print[abi:cxx11](MathStructure const&, int, PrintOptions const&)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::worker()':
qwrapper.cpp:(.text+0x23b0): undefined reference to `Calculator::unlocalizeExpression(std::__cxx11::basic_string, std::allocator >, ParseOptions const&) const'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::QWrapper(QObject*)':
qwrapper.cpp:(.text+0x2b66): undefined reference to `Number::set(std::__cxx11::basic_string, std::allocator >, ParseOptions const&)'
qwrapper.cpp:(.text+0x2c5c): undefined reference to `Number::set(std::__cxx11::basic_string, std::allocator >, ParseOptions const&)'
qwrapper.cpp:(.text+0x2d4b): undefined reference to `Number::set(std::__cxx11::basic_string, std::allocator >, ParseOptions const&)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::fileDownloaded(QNetworkReply*)':
qwrapper.cpp:(.text+0x3373): undefined reference to `Calculator::getExchangeRatesFileName[abi:cxx11](int)'
collect2: error: ld returned 1 exit status
make[2]: *** [plugin/CMakeFiles/plasmoidplugin.dir/build.make:115: plugin/libplasmoidplugin.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:188: plugin/CMakeFiles/plasmoidplugin.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Distribution: Slackware64-current
Qt: 5.9.5
Plasma: 5.12.5
Frameworks: 5.46.0
gcc: 7.3
Thanks!
Report
emezeta
2 years ago
If i try to compile v0.3.1 with libqalculate 2.0.0 I got:
machine:~/setups/pkg/qalculate-0.3.1/build$ make
[ 16%] Built target org.kde.plasma.qalculate-metadata-json
[ 33%] Automatic moc for target plasmoidplugin
[ 33%] Built target plasmoidplugin_automoc
[ 50%] Linking CXX shared library libplasmoidplugin.so
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::setDecimalSeparator(QString const&)':
qwrapper.cpp:(.text+0x707): undefined reference to `Calculator::useDecimalPoint(bool)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::getExchangeRatesUpdateTime()':
qwrapper.cpp:(.text+0xa9e): undefined reference to `Calculator::getExchangeRatesTime()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::evaluate(QString const&, bool)':
qwrapper.cpp:(.text+0xee5): undefined reference to `Calculator::abortPrint()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::worker()':
qwrapper.cpp:(.text+0x142b): undefined reference to `MathStructure::isAborted() const'
qwrapper.cpp:(.text+0x1669): undefined reference to `Calculator::startPrintControl(int)'
qwrapper.cpp:(.text+0x170e): undefined reference to `Calculator::printingAborted()'
qwrapper.cpp:(.text+0x1723): undefined reference to `Calculator::stopPrintControl()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::QWrapper(QObject*)':
qwrapper.cpp:(.text+0x1cf5): undefined reference to `Calculator::useDecimalPoint(bool)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::fileDownloaded(QNetworkReply*)':
qwrapper.cpp:(.text+0x23aa): undefined reference to `Calculator::getExchangeRatesTime()'
collect2: error: ld returned 1 exit status
plugin/CMakeFiles/plasmoidplugin.dir/build.make:147: recipe for target 'plugin/libplasmoidplugin.so' failed
make[2]: *** [plugin/libplasmoidplugin.so] Error 1
CMakeFiles/Makefile2:155: recipe for target 'plugin/CMakeFiles/plasmoidplugin.dir/all' failed
make[1]: *** [plugin/CMakeFiles/plasmoidplugin.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Similar error when try with v0.4.0 libqalculate-2.4.0
Could you give any tip or so?
Thanks!
Report
dschopf
2 years ago
How did you install the libqalculate? Manually or with a package manager? What does the output of the cmake command say.
It should say something like this:
-- Checking for module 'libqalculate>=0.9.8'
-- Found libqalculate, version 2.4.0
Report
emezeta
2 years ago
finally "make install"
~/setups/pkg/qalculate-0.4.0/build$ su -c "make install"
Password:
[ 16%] Built target org.kde.plasma.qalculate-metadata-json
[ 33%] Automatic moc for target plasmoidplugin
[ 33%] Built target plasmoidplugin_automoc
[ 50%] Linking CXX shared library libplasmoidplugin.so
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::updateExchangeRates()':
qwrapper.cpp:(.text+0x4af): undefined reference to `Calculator::getExchangeRatesUrl[abi:cxx11](int)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::getExchangeRatesUpdateTime()':
qwrapper.cpp:(.text+0x60e): undefined reference to `Calculator::getExchangeRatesTime()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::checkReturnState()':
qwrapper.cpp:(.text+0x80c): undefined reference to `Calculator::aborted()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::printResultInBase(int, MathStructure&, QString&)':
qwrapper.cpp:(.text+0xc73): undefined reference to `Calculator::print[abi:cxx11](MathStructure const&, int, PrintOptions const&)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::runCalculation(std::__cxx11::basic_string, std::allocator > const&)':
qwrapper.cpp:(.text+0x145c): undefined reference to `Calculator::print[abi:cxx11](MathStructure const&, int, PrintOptions const&)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::worker()':
qwrapper.cpp:(.text+0x2087): undefined reference to `Calculator::startControl(int)'
qwrapper.cpp:(.text+0x209b): undefined reference to `Calculator::stopControl()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::QWrapper(QObject*)':
qwrapper.cpp:(.text+0x25c8): undefined reference to `Calculator::useDecimalPoint(bool)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::fileDownloaded(QNetworkReply*)':
qwrapper.cpp:(.text+0x2b6b): undefined reference to `Calculator::getExchangeRatesFileName[abi:cxx11](int)'
qwrapper.cpp:(.text+0x2ce2): undefined reference to `Calculator::getExchangeRatesTime()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::setDecimalSeparator(QString const&)':
qwrapper.cpp:(.text+0x261): undefined reference to `Calculator::useDecimalPoint(bool)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `_GLOBAL__sub_I_qwrapper.cpp':
qwrapper.cpp:(.text.startup+0x37b): undefined reference to `Number::Number(long, long, long)'
collect2: error: ld returned 1 exit status
plugin/CMakeFiles/plasmoidplugin.dir/build.make:147: recipe for target 'plugin/libplasmoidplugin.so' failed
make[2]: *** [plugin/libplasmoidplugin.so] Error 1
CMakeFiles/Makefile2:155: recipe for target 'plugin/CMakeFiles/plasmoidplugin.dir/all' failed
make[1]: *** [plugin/CMakeFiles/plasmoidplugin.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Not significative output differences compiling with any of 2.0.0 or 2.4.0 versions of libqalculate for 'make' and 'make install' commands. { references like (.text+0x2c6a) and percent compiling advances as sole differs. ]
Seems opendesktop.org web app
Report
emezeta
2 years ago
Report
emezeta
2 years ago
Report