MacOSX LionにRubyQtをいれる

ここから

  • qt4-qtruby-2.1.0

を持ってきて適当に解凍

$ brew install cmake
cmake .

Melchior:qt4-qtruby-2.1.0 onodes$ cmake .
CMake Error at /usr/local/Cellar/cmake/2.8.5/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
  Did not find automoc4 (Automoc4Config.cmake, part of kdesupport).
  (missing: AUTOMOC4_EXECUTABLE)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/2.8.5/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindAutomoc4.cmake:56 (find_package_handle_standard_args)
  CMakeLists.txt:70 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

なので,

  • Did not find automoc4 (Automoc4Config.cmake, part of kdesupport).

を入れる

Melchior:qt4-qtruby-2.1.0 onodes$ brew install automoc4
==> Downloading ftp://ftp.kde.org/pub/kde/stable/automoc4/0.9.88/automoc4-0.9.88.tar.bz2
######################################################################## 100.0%
######################################################################## 100.0%==> Downloading patches
==> Patching
patching file kde4automoc.cpp
==> cmake . -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/automoc4/0.9.88' -DCMAKE_BUILD_TYPE=None -Wno-
==> make install
cmake .

でどうやらできたみたい.

make 
make install