[mitchell at kde.org: Re: amarok compile error]
Marcos Dione
mdione at grulic.org.ar
Mon Apr 6 23:06:07 UTC 2009
On Tue, Mar 31, 2009 at 09:31:39PM -0300, Marcos Dione wrote:
> On Thu, Mar 19, 2009 at 08:37:24AM -0500, Ian Monroe wrote:
> > On Wed, Mar 18, 2009 at 3:24 PM, Marcos Dione <mdione at grulic.org.ar> wrote:
> > Use
> > http://code.google.com/p/qtscriptgenerator/downloads/list
> > to build and then install them into your KDEDIR/lib/kde4/plugins/script
>
> I compiled it as per its README file and installed it copying the
> plugins dir to $KDEDIR/lib/kde4. I also erased the build dir and now it
> doesn't even detect QtScript:
>
> -----------------------------------------------------------------------------
> -- The following REQUIRED packages could NOT be located on your system.
> -- Consider installing them to enable more features from this software.
> -----------------------------------------------------------------------------
> * qtscript-qt <http://code.google.com/p/qtscriptgenerator/>
> QtScript Qt Bindings
>
> did I miss anything?
not exactly. I found the cmake error log and I found this: the
testing code tests for several 'bindings':
QStringList allowedBindings;
allowedBindings << "qt.core" << "qt.gui" << "qt.sql" << "qt.xml" << "qt.uitools" << "qt.network";
QScriptEngine engine;
foreach( QString binding, allowedBindings )
{
if( !engine.importExtension( binding ).isUndefined() )
{ // undefined indiciates success
qDebug( binding.toLatin1() + " not found" );
return FAIL;
}
}
return 0;
but I don't have qt.xml or qt.uitools:
$ ls -l $KDEDIR/plugins/script/*.so.1.0.0
-rwxr-xr-x 1 mdione mdione 13775892 2009-04-06 07:30 /home/mdione/local/soft/kde4/plugins/script/libqtscript_gui.so.1.0.0
-rwxr-xr-x 1 mdione mdione 1217981 2009-04-06 07:30 /home/mdione/local/soft/kde4/plugins/script/libqtscript_network.so.1.0.0
-rwxr-xr-x 1 mdione mdione 247450 2009-04-06 07:30 /home/mdione/local/soft/kde4/plugins/script/libqtscript_opengl.so.1.0.0
-rwxr-xr-x 1 mdione mdione 592964 2009-04-06 07:30 /home/mdione/local/soft/kde4/plugins/script/libqtscript_sql.so.1.0.0
so qt script generator is not generating them. why wouldn't it pick
them?
--
(Not so) Random fortune:
Never argue with an idiot: they drag you down to their level, and then they beat
you with experience.
More information about the Amarok
mailing list