[Kde-bindings] Re: building qtruby/smokeqt with QtDeclarative

Ian Monroe ian at monroe.nu
Wed Jan 26 19:45:37 UTC 2011


On Wed, Jan 26, 2011 at 13:35, Arno Rehn <arno at arnorehn.de> wrote:
> On Wednesday 26 January 2011 16:11:20 Sven Moritz Hallberg wrote:
>> Hi,
>>
>> I'm trying to build the qtruby bindings from the git repository at
>> git://anongit.kde.org/qtruby. Specifically, I'm looking to try out the
>> QtDeclarative stuff.
>>
>> Unfortunately I seem to be missing something. I've built Qt 4.7.1 from
>> source and it installed itself to /usr/local/Trolltech/Qt-4.7.1 . I'm not
>> exactly sure how to tell the build process about that. What I've tried is
>> setting QTDIR=/usr/local/Trolltech/Qt-4.7.1 in the environment.
>>
>> I've found out that I need to build smokegen and smokeqt first. I've done
>> that (cmake, make, make install) and it seems to have worked.
>>
>> However, when I build qtruby, it skips the QtDeclarative module. Tracking
>> it down, I noticed that smokeqt already skipped it and I'm not sure why.
>> Here's what I get from cmake:
>> [...snip...]
>> Any hints would be greatly appreciated.
> Are you sure that you have the QtDeclarative module installed? The CMake
> output shows that it picks up the correct Qt installation, but obviously it
> doesn't find some modules (Phonon, QtMultimedia, QtDeclarative, which are all
> shipped with Qt).
> Look for libQtDeclarative.so. If you don't have that, your installation is
> borked.

...and if you do have libQtDeclarative.so, and the cmake is just
randomly not finding it, the easiest thing to do is to set it with
cmake-gui or ccmake. This is easier then trying to figure out how to
make cmake find something on its own.

Ian



More information about the Kde-bindings mailing list