Indicator for Ubuntu's default Unity shell, showing the current CPU/GPU power consumption by modern intel processors. The source code is in public domain.
The gadget uses Qwt - Qt Widgets for Technical Applications. A framework to draw plots of different kind. Static linking against version 6.x is used. First, you have to get the qwt, unpack it, and change the qwtconfig.pri
file in it's root directory. Comment out the lines:
#QWT_CONFIG += QwtDll #QWT_CONFIG += QwtWidgets #QWT_CONFIG += QwtSvg #QWT_CONFIG += QwtOpenGL #QWT_CONFIG += QwtDesigner
Or you can download already patched qwt version here. To build qwt just go into the derictory where you have unpacked it and run:
qmake qwt.pro make sudo make instal
After which add the location where qwt.prf
was installed to the qmake settings:
qmake -set QMAKEFEATURES ${QWT_ROOT}/features
Where ${QWT_ROOT}
is normally something like /usr/local/qwt-6.1.1
in the case of ubuntu.
See the qwt install guide for additional documentation.
Just run the ./make-deb
script from the root of the source tree.