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


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

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


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

try {
    Importer.loadQtBinding( "qt.uitools" );
catch (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

$ grep so /var/log/packages/qtscriptgenerator-0.2.0-x86_64-1 
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

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, 09:15 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,145

Rep: Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642
Some hints ...

Debian : Same source = qtscriptgenerator-0.2.0

libqtscript4-uitools' is a separate package.

File lists

> debian/libqtscript4-uitools.install

Slackware : >
→ → 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,,,
are created and moved to qtscriptgenerator-src-0.2.0/plugins/script/


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


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 08:53 PM.

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