LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-02-2012, 05:48 AM   #1
_ZeD_
LQ Newbie
 
Registered: May 2012
Distribution: Slackware
Posts: 18

Rep: Reputation: 1
Question no uitools in qtscriptgenerator??


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?
 
Old 12-02-2012, 08:15 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Some hints ...

Debian : Same source = qtscriptgenerator-0.2.0
http://packages.debian.org/source/wh...criptgenerator

libqtscript4-uitools' is a separate package.

File lists http://packages.debian.org/wheezy/i3...tools/filelist
http://packages.debian.org/wheezy/am...tools/filelist
/usr/lib/x86_64-linux-gnu/qt4/plugins/script/libqtscript_uitools.so
/usr/lib/x86_64-linux-gnu/qt4/plugins/script/libqtscript_uitools.so.1
/usr/lib/x86_64-linux-gnu/qt4/plugins/script/libqtscript_uitools.so.1.0
/usr/lib/x86_64-linux-gnu/qt4/plugins/script/libqtscript_uitools.so.1.0.0

Patch http://ftp.de.debian.org/debian/pool....debian.tar.gz
> debian/libqtscript4-uitools.install

Slackware :
ftp://ftp.slackware.org.uk/slackware...riptgenerator/ >
qtscriptgenerator.SlackBuild ftp://ftp.slackware.org.uk/slackware...tor.SlackBuild
→ → The files are not created. Can't see exactly why.
Solution : When 'qtscriptgenerator.SlackBuild' has been run :
cd qtscriptgenerator-src-0.2.0/qtbindings/qtscript_uitools/ && make
→ The files libqtscript_uitools.so, libqtscript_uitools.so.1.0,
libqtscript_uitools.so.1, libqtscript_uitools.so.1.0.0
are created and moved to qtscriptgenerator-src-0.2.0/plugins/script/

.

Last edited by knudfl; 12-02-2012 at 12:37 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration