[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-devel
Subject:    Re: [Amarok] Amarok 2.3.1 beta 1 tagged
From:       Martin <darklight.xdarklight () googlemail ! com>
Date:       2010-04-17 21:14:41
Message-ID: 201004172314.41998.darklight.xdarklight () googlemail ! com
[Download RAW message or body]

Hi,

> I must admit I'm having the same problem here on Arch Linux. The
> QtScript bindings are installed, and they work fine. But Amarok's
> CMake check claims they are not present. So I simply removed the check
> locally (always returns true), and that works.
I also got that problem (with qtscriptgenerator 0.1.0 AND the one from the git 
repository).

> Maybe our CMake check is buggy? I've looked at it briefly but could
> not really make sense of it.
indeed, it was a bug in the check.

The check simply ran some .cpp code which had a small bug in it:
the code was initializing a QCoreApplication (which has no UI support).
since QScriptEngine is smart it know "we have no UI support" and it refuses to 
load qt.uitools

The solution was to replace the QCoreApplication by a QApplication.
(if anyone is interested: here's the patch:  [0] - but Mark will push the fix 
soon)

Regards,
Martin

[0] http://pastebin.ca/1865414
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic