[Kde-bindings] Re: Error compiling Qtruby

Arno Rehn arno at arnorehn.de
Sat Feb 26 18:29:28 UTC 2011


On Saturday 26 February 2011 16:06:08 Marco Antonio Fogaça Nogueira wrote:
> Hi all,
> 
> I am a Ruby and don' t know C. I'm tryin to compile qt4-qtruby-2.1.0 on my
> Ubunu, with cmake, and I get this error message:
> 
> [ 82%] Building CXX object
> ruby/qtruby/src/CMakeFiles/qtruby4shared.dir/handlers.cpp.o
> /home/marco/Documents/qt4-qtruby-2.1.0/ruby/qtruby/src/handlers.cpp: In
> function ‘void smokeruby_free(void*)’:
> /home/marco/Documents/qt4-qtruby-2.1.0/ruby/qtruby/src/handlers.cpp:390:
> error: ‘class QGraphicsItem’ has no member named ‘parentObject’
> make[2]: *** [ruby/qtruby/src/CMakeFiles/qtruby4shared.dir/handlers.cpp.o]
> Error 1
> make[1]: *** [ruby/qtruby/src/CMakeFiles/qtruby4shared.dir/all] Error 2
> make: *** [all] Error
> 
> 
> I am tottaly lost, (good and old) copying and pasting the error message on
> google gives me nothing.
> Is it lack of some lib? What would you recommend? I  have no idea.
You'll need at least Qt 4.6 for this version of QtRuby.
Most distributions also provide packages for QtRuby. You might want to check 
that.

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list