Hi
I had problems with some amarok scripts; debugging a "modified" copy of the "Script console" script (the only difference is the add of a try/catch) I found I missed some libraries
Code:
try {
Importer.loadQtBinding( "qt.uitools" );
}
catch (e) {
Amarok.alert(e);
}
(the error message I see is "Error: Unable to import qt.uitools: no such extension")
These extensions are supposed to be offered by the qtscriptgenerator, but if I list the files in the package I see
Code:
$ grep so /var/log/packages/qtscriptgenerator-0.2.0-x86_64-1
usr/lib64/qt/plugins/script/libqtscript_gui.so.1.0.0
usr/lib64/qt/plugins/script/libqtscript_sql.so.1.0.0
usr/lib64/qt/plugins/script/libqtscript_xml.so.1.0.0
usr/lib64/qt/plugins/script/libqtscript_network.so.1.0.0
usr/lib64/qt/plugins/script/libqtscript_opengl.so.1.0.0
usr/lib64/qt/plugins/script/libqtscript_svg.so.1.0.0
usr/lib64/qt/plugins/script/libqtscript_core.so.1.0.0
$
there are a bunch of libraries, but no uitools.
I think the qtscriptgenerator is someway "out of sync" with the qt libraries.
Digging through the slackware logs (mixed from slackware 14/13.37, I hope I did not messed all), I see
Code:
Thu Aug 30 23:35:53 UTC 2012
l/qt-4.8.2-x86_64-4.txz: Rebuilt.
[....]
Thu Apr 5 21:15:52 UTC 2012
l/qtscriptgenerator-0.2.0-x86_64-1.txz: Upgraded.
[....]
Sun Mar 27 08:28:47 UTC 2011
l/qt-4.7.0_7abde40-x86_64-3.txz: Rebuilt.
It's just a speculation, but I think qtscriptgenerator has been run over qt 4.7 and maybe the uitools module was not exported or something like that.
Honesty I'm not expert in this qtscript thing, so, maybe someone has some idea on what happened on my system? or how can i have this extension module?