I've finally figured how to get LiquidWeather to work on KDE 4 using the native Add Widgets. Previously when adding, it kept saying PyQt is not installed and exiting, sometimes crashing Plasma. However, PyQt is installed. After some investigation, finally found a solution.
So I thought I'd share it here.
First, make sure you have the package python-qt4 installed.
Using the Add Widgets, select Install from File. Choose SuperKaramba. Click Next and find the lwp-14.8.skz. and Click Finish.
The contents of the skz will be extracted to ~/.kde4/share/apps/plasma/plasmoids/sk_lwp-14.8
You need to modify the file liquid_weather.py. In the method checkDependencies(widget), it tries importing qt libs, which for whatever reason fails. So comment out the following (line 3663-3668):
Select it in the widget list and add to desktop. All seems to be working fine now.
So I thought I'd share it here.
First, make sure you have the package python-qt4 installed.
Using the Add Widgets, select Install from File. Choose SuperKaramba. Click Next and find the lwp-14.8.skz. and Click Finish.
The contents of the skz will be extracted to ~/.kde4/share/apps/plasma/plasmoids/sk_lwp-14.8
You need to modify the file liquid_weather.py. In the method checkDependencies(widget), it tries importing qt libs, which for whatever reason fails. So comment out the following (line 3663-3668):
Code:
try: from qt import * hasqt = 1 except: karamba.execute('kdialog --title "%s" --error "%s" &' %(_('Critical Error'),_('You do not have PyQT installed. This is a critical dependency for Liquid Weather ++. Please install it and try again.'))) sys.exit()
Comment