[Kde-bindings] Qt4 QtRuby
Peter Rullmann
peter at p4n.net
Wed Oct 11 11:31:59 UTC 2006
Hi Richard,
I tried your suggestion to copy the latest SVN sources into the
qtruby-1.4.6 from RubyForge but ran into difficulties. I am not a C++
expert so it might be a stupid question.
I did the following:
# get the latest sources from subversion
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebindings
# unpack the standalone qt4 qtruby release from rubyforge
tar -xzf ../qt4-qtruby-1.4.6.tgz
mv qt4-qtruby-1.4.6 qt4-qtruby-svn
# copy new svn data into svn folder
cp -a kdebindings/qtruby/* qt4-qtruby-svn/qtruby/
cp -a kdebindings/smoke/* qt4-qtruby-svn/smoke/
cp -a kdebindings/kalyptus/* qt4-qtruby-svn/kalyptus/
# compile new svn version
cd qt4-qtruby-svn/
./configure --with-smoke=qt --enable-qtdbus=yes
make
But while in qtruby/rubylib/designer/rbuic he is missing a
header-file, which is in the "ruby" subdirectory:
uic.cpp:42:32: error: rbwritedeclaration.h: No such file or directory
uic.cpp: In member function 'bool Uic::rbwrite(DomUI*)':
uic.cpp:272: error: 'Ruby' is not a namespace-name
uic.cpp:272: error: expected namespace-name before ';' token
uic.cpp:295: error: 'WriteDeclaration' was not declared in this scope
make[5]: *** [uic.lo] Error 1
# ls qt4-qtruby-svn/qtruby/rubylib/designer/rbuic/ruby
rbwritedeclaration.cpp rbwriteiconinitialization.cpp
rbwritedeclaration.h rbwriteiconinitialization.h
rbwriteicondata.cpp rbwriteinitialization.cpp
rbwriteicondata.h rbwriteinitialization.h
rbwriteicondeclaration.cpp ruby.pri
rbwriteicondeclaration.h
# ls qt4-qtruby-svn/qtruby/rubylib/designer/rbuic
customwidgetsinfo.cpp option.h uic.loT
customwidgetsinfo.h qclass_lib_map.h utils.h
customwidgetsinfo.lo rbuic4.pro validator.cpp
databaseinfo.cpp rbuic.pri validator.h
databaseinfo.h rbuic.pro writedeclaration.cpp
databaseinfo.lo ruby writedeclaration.h
driver.cpp TODO writeicondata.cpp
driver.h treewalker.cpp writeicondata.h
driver.lo treewalker.h writeicondeclaration.cpp
globaldefs.h treewalker.lo writeicondeclaration.h
LICENSE.GPL ui4.cpp writeiconinitialization.cpp
main.cpp ui4.h writeiconinitialization.h
Makefile ui4.lo writeinitialization.cpp
Makefile.am uic.cpp writeinitialization.h
Makefile.in uic.h
Is there perhaps something missing? I could imagine that because the
"ruby" directory is new in SVN, I have to rerun some build command in
"rbuic" or "rbuic/ruby", but I don't know which.
Thanks in andvance,
Peter
On 9/15/06, Richard Dale <rdale at foton.es> wrote:
> On Friday 15 September 2006 02:39, Brian Arnold wrote:
> > Is it possible to compile only QtRuby from SVN, without having to
> > compile kdelibs?
> No, not at the moment. I had to do a few tweaks to get the version of Qt4
> QtRuby on the korundum RubyForge site to build without KDE (QtRuby version
> 1.4.6). So the easiest thing to do would be to use that version and copy the
> latest sources from the kde svn into it.
>
> -- Richard
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings
>
>
--
Peter Rullmann <peter AT p4n.net> http://p4n.net [ICQ: 22931645]
Richard-Wagner-Str. 72, 66111 Saarbruecken, Germany. +49/681/9388281
More information about the Kde-bindings
mailing list